check ping explanation required
David Rosenstrauch
darose at darose.net
Tue Jul 14 20:40:01 CEST 2009
shadih rahman wrote:
> 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.
> How is it possible for Nagios to lose 85% of one ping?
The plugin issues 5 pings by default:
[root at webapps nagios]# /usr/lib64/nagios/plugins/check_ping -help
check_ping v1991 (nagios-plugins 1.4.13)
Copyright (c) 1999 Ethan Galstad <nagios at nagios.org>
Copyright (c) 2000-2007 Nagios Plugin Development Team
<nagiosplug-devel at lists.sourceforge.net>
Use ping to check connection statistics for a remote host.
Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
[-p packets] [-t timeout] [-4|-6]
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-4, --use-ipv4
Use IPv4 connection
-6, --use-ipv6
Use IPv6 connection
-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)
...
DR
------------------------------------------------------------------------------
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
_______________________________________________
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