check_ping oddities

Dale Blount nagios-list at dale.us
Thu Sep 29 19:53:24 CEST 2005


Hi,

My check_ping is defined like this:

define command{
        command_name                    check_ping
        command_line                    $USER1$/check_ping -H
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 6 -t 20
}

Yet I get output at times like:

PING WARNING - Packet loss = 71%, RTA = 89.44 ms
(warn is 60%, crit is 80%, so WARNING is correct).

and

PING WARNING - Packet loss = 25%, RTA = 17.44 ms
(warn is 20% and crit is 40%, so WARNING is correct).


And now to the question.  How can 71% or 25% be a result when 6 packets
are sent?

Thanks,

Dale



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list