check ping explanation required

shadih rahman shadhin71 at gmail.com
Tue Jul 14 20:06:05 CEST 2009


        Nagios uses check_ping for the host check of most hosts.

        The check is configured to send only one ping.

        So if Nagios receives a response, it is 0% packet loss.

        If no response, it is 100% packet loss.


# 'check-host-alive' 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
        }




        Yet, Nagios reports:



                ping at bway2852-3-1.net.columbia.edu:2009-06-30 23:24:33:PING
OK - Packet loss = 85%, RTA = 47.06 ms



        How is it possible for Nagios to lose 85% of one ping?

-- 
Cordially,
Shadhin Rahman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090714/bd259da5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
-------------- next part --------------
_______________________________________________
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