[Nagiosplug-devel] check_ping plugin is not processing the -p option properly

shadih rahman shadhin71 at gmail.com
Wed Aug 19 17:57:15 CEST 2009


All,
    I have noticed that check_ping plugin is not processing the -p option
properly.

I have the following command definition

define command{
        command_name    check-host-alive
        command_line    $USER1$/check_ping -H $HOSTADDRESS$ t 45 -4 -w
3000.0,100% -c 3000.0,100% -p 1
        }


./check_ping -H Hos A -p 1 -t 45 -4 -w 2000.0,30% -c 3000.0,40%
PING CRITICAL - Packet loss = 50%, RTA = 2.50
ms|rta=2.498000ms;2000.000000;3000.000000;0.000000 pl=50%;30;40;0




If I am sending 1 packet, how is it possible to receive 50% packet loss.
Please advise on this.  Thanks




-- 
Cordially,
Shadhin Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20090819/98c744d9/attachment.html>


More information about the Devel mailing list