06-03-2016
Hi Sayed,
sorry, but I have almost no knowledge about zabbix beside the fact that I read some news articles about it here and then. Zabbix is a good open source monitoring solution with fine documentation, that'll help you a lot.
Regarding questioning: In this forum there is a monitoring section as well. Another good place is ...
... the Zabbix-Forum:
ZABBIX Forums
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to call multiple java commands through a .sh file. I have drafted one with my least knowledge. But its not working. Pls help. I am trying to run this from Sun Solaris (OS 5.10) server with 10g oracle database.
echo \* starting script AUTORUN
echo \* get the Monitor path... (4 Replies)
Discussion started by: vivekdn
4 Replies
2. UNIX for Advanced & Expert Users
This is my first post so hello to all of you!
I have a script in bash-3.00 that needs to execute the following:
pkgrm (to remove an existing package)
pkgadd -d ( to install a new package)
The problem is that both commands prompt me to answer either y,n or q in order to proceed with... (13 Replies)
Discussion started by: Insight
13 Replies
3. Shell Programming and Scripting
can anyone help me in writing a shell script to visualize how simple commands work and on what logic. For Eg: ls command how it lists out all the files and directories, need to write a simple script based on the commands source code.:D (0 Replies)
Discussion started by: rahul_11d
0 Replies
4. Shell Programming and Scripting
Can anyone help me out in visualizing on what is the logic behind simple unix commands. For Eg: ls command lists files and directories, how it displays I need to know the source code for commands like this. (1 Reply)
Discussion started by: rahul_11d
1 Replies
5. UNIX for Dummies Questions & Answers
I have multiple input files that I want to manipulate using a shell script. The files are called 250.1 through 250.1000 but I only want the script to manipulate 250.300 through 250.1000. Before I was using the following script to manipulate the text files:
for i in 250.*; do
|| awk... (4 Replies)
Discussion started by: evelibertine
4 Replies
6. Shell Programming and Scripting
Hi,
I am trying to create a shell script to automate the following process of getting svn stats:-
Step1:- cd to checkout location.
Note that the checked code have multiple modules in respective folders
Step2:- Execute this command inside each module:-
svn log -v --xml >... (0 Replies)
Discussion started by: d8011
0 Replies
7. Shell Programming and Scripting
Hi,
I am trying to count the number of times a string of letters occurs in a file for multiple unique strings of letters. Right now I can do this one at a time using the following code (in this example I am searching for the string "AAA"):
echo AAA >> outfile.txt
grep -c "AAA" -r... (4 Replies)
Discussion started by: gecko1
4 Replies
8. UNIX for Dummies Questions & Answers
Hi, guys, I am trying to automate a sftp process using "expect" method (since the key authentication method is disabled in my company network, there is no helping it).
In order to try, I type in the command manually:
sftp @ > << EOF
>cd
>ls -l
>EOF
>Connecting to
@servername password:
... (3 Replies)
Discussion started by: warmboy610
3 Replies
9. Shell Programming and Scripting
Hi
I have a shell script like that
Main() {
DAY=$(date +"%d-%m-%Y")
TIME=$(date +"%T")
Command 1
Command 2
...
Command n
}
I would like to catch errors from all commands in Main() and write these errors into a file , something likes this:
Main
if < error >
then
echo... (3 Replies)
Discussion started by: bobochacha29
3 Replies
10. Shell Programming and Scripting
Hello All!
First post...
I am working on a script that is used to recover a crashed drive from an rsync backup.
I'm down to the place where I need to create all of the directories in /mnt where I will then mount each of the volumes and begin the restore process to each volume...
I have... (3 Replies)
Discussion started by: RogerBaran
3 Replies
LEARN ABOUT DEBIAN
nncheck
NNCHECK(1) General Commands Manual NNCHECK(1)
NAME
nncheck - check for unread articles
SYNOPSIS
nncheck [ -Q -r -t ] [ -f format ]
DESCRIPTION
nncheck will report if there are some articles on the system which you have not read.
Without options, nncheck will simply print a message reporting the number of unread articles with the following format:
There are 327 unread articles in 25 groups
and when there are no unread articles, the following message will be printed:
No News (is good news)
nncheck will exit with a value of 0 if there are unread articles, and 99 if there is no news (see the exception for the -r option.)
It is important to notice that even though unread articles have been reported by nncheck, the actual number of unread articles may be much
lower (or even zero) when nn is invoked to read the articles. This is because the calculation of the number of unread articles is only
based on recorded article number intervals. Invoking nn to read the articles may reveal that the articles have previously been read in
another news group, have been expired, or are killed using the auto-kill facility.
The following options are used to modify the amount and format of the output from nncheck:
-Q Quiet operation. No output is produced, only the exit status indicate whether there is unread news.
-t Print the name of each group with unread articles, and how many unread articles there are (not counting split digests!).
-r Output a single integer value specifying the number of unread articles, and exit with a 0 status (somebody told me this would be
useful).
-f format
Output the number of unread articles using the specified format. The format is a text that may contain the following %-escapes:
%-code resulting output
%u "uuu unread articles"
%g "ggg groups"
%i "is" if 1 unread article, else "are"
%U "uuu"
%G "ggg"
where uuu is the number of unread articles, and ggg is the number of groups with unread articles.
For example, the default output format is
"There %i %u in %g"
which I prefer to the following less perfect format:
"There are %U unread article(s) in %G group(s)"
FILES
~/.newsrc The record of read articles
$db/MASTER The database master index
SEE ALSO
nn(1), nngoback(1), nngrab(1), nngrep(1), nnpost(1), nntidy(1)
nnadmin(1M), nnusage(1M), nnmaster(1M)
AUTHOR
Kim F. Storm, Texas Instruments A/S, Denmark
E-mail: storm@texas.dk
4th Berkeley Distribution Release 6.6 NNCHECK(1)