Re: Check_ping

Wayne Harmsworth <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Howdy Anthony,

On Wed, 2002-11-27 at 05:32, Cervelli, Anthony wrote:

    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.

Using the built-in superb help...

Usage: check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
       [-p packets] [-t timeout] [-L]

Options:
-H, --hostname=HOST
   host to ping
-w, --warning=THRESHOLD
   warning threshold pair
-c, --critical=THRESHOLD
   critical threshold pair
-p, --packets=INTEGER
   number of ICMP ECHO packets to send (Default: 5)
-t, --timeout=INTEGER
   optional specified timeout in second (Default: 10)
-L, --link
   show HTML in the plugin output (obsoleted by urlize)

Check commands.cfg file in /somewhere_to_netsaint/etc/commands.cfg to
see how your check_ping command has been setup.

100.0 stands for milliseconds
20% stands for packet loss
any result over these values should return a "WARNING"

500 stands for milliseconds
60% stands for packet loss
any result over these values would result in a "CRITICAL"

EXAMPLE:
[netsaint@syd-netsaint libexec]$ ./check_ping -H localhost -w 100,20% -c
500,60%PING OK - Packet loss = 0%, RTA = 0.21 ms

Check the COMMANDS.cfg file!

Good Luck
Regards Wayne Harmsworth
iTV Platform Support
Austar Communications
p.93949815
m.0402807328
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.