RE: Check_ping
"Philip Roy" <[email protected]>
| Newsgroups | gmane.network.netsaint.user |
|---|---|
| Message-ID | <000601c295a9$b09ac5a0$0100000a@ROYSYSLT> |
Forgive me if I have taken you the wrong way on this, but you may be
after the following . . . .
The command you quoted is most probably in the hosts.cfg file. The
check_ping refers to a command that can be found in the commands.cfg
file in the same directory. In there the check_ping has been
extrapolated out to the full command using the macros and arguments
used. So that the 100.0,20% will be passed to the check_ping in
commands.cfg as $ARG1$, and the 500.0,60% as $ARG2$.
In the command.cfg file check ping looks like
command[check_ping]=$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5
This will most likely be expanded out to something like the following,
using your arguments:
command[check_ping]=/usr/local/netsaint/libexec/check_ping -H
some.ip.address.here -w 100.0,20% -c 500,60% -p 5
To find out what the arguments are for a plugin, run the plugin from a
command line with -h or --help for help. This should work for most
plugins.
Check out the documentation that comes with Netsaint on plugins and
hosts.cfg for more details.
Phil.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
Cervelli, Anthony
Sent: Wednesday, 27 November 2002 5:32 AM
To: '[email protected]'
Subject: [netsaint] Check_ping
Can someone help me?
I have searched the archive and I am unable to find an explanation of
the following command.
check_ping!100.0,20%!500.0,60% . I am not sure what it all means. Is
there a link I can go to or can someone explain it?
Thanks.