I think I have found the problem,  Please see the following theread<br><br><a href="http://article.gmane.org/gmane.network.nagios.plugins.devel/6738">http://article.gmane.org/gmane.network.nagios.plugins.devel/6738</a><br>
<br><div class="gmail_quote">On Wed, Aug 19, 2009 at 9:54 AM, shadih rahman <span dir="ltr"><<a href="mailto:shadhin71@gmail.com">shadhin71@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using nagios-3.0.6 and nagios plugins-1.4.13<br><br> As suggested I have read the check_ping man page.  However having critical > warning is not the cause of the problem.  We chose to keep both warning and critical same because we want all ping issues to become critical.  Below is an example like you suggested.  The question is how can you have 75% packet loss, when you are sending one packet.  Please advise on this.  Thanks<br>

<br>check_ping -H HostA -t 45 -4 -w 200.0,30% -c 300.0,40% -p 1<br>PING CRITICAL - Packet loss = 75%, RTA = 2.17 ms|rta=2.168000ms;200.000000;300.000000;0.000000 pl=75%;30;40;0<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Tue, Aug 18, 2009 at 8:37 PM, Morris, Patrick <span dir="ltr"><<a href="mailto:patrick.morris@hp.com" target="_blank">patrick.morris@hp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>On Tue, 18 Aug 2009, shadih rahman wrote:<br>
<br>
> All,<br>
>    My check ping result is not making sense.  I have the following in commands.cfg<br>
><br>
> define command{<br>
>         command_name    check-host-alive<br>
>         command_line    $USER1$/check_ping -H $HOSTADDRESS$ -t 45 -4 -w 3000.0,100% -c 3000.0,100% -p 1<br>
>         }<br>
><br>
><br>
> However I see the following output<br>
><br>
><br>
>  Mon Aug 17 13:06:34 2009];HOST ALERT: HostA;UP;SOFT;2;PING OK - Packet loss = 87%, RTA = 2.09 ms<br>
> [Mon Aug 17 13:09:24 2009];HOST ALERT: Host B;DOWN;SOFT;2;PING CRITICAL - Packet loss = 94%, RTA = 4001.56 ms<br>
>  [Mon Aug 17 13:14:44 2009];HOST ALERT: Host C;UP;SOFT;3;PING OK - Packet loss = 93%, RTA = 1.15 ms<br>
>  [Mon Aug 17 13:55:14 2009];HOST ALERT: Host D;UP;SOFT;2;PING OK - Packet loss = 83%, RTA = 2.19 ms<br>
><br>
><br>
> How can I have 87 % packet loss when I am sending only on packet.  Can someone please explain this to me.  Thanks in advance.<br>
<br>
</div></div>Which version of the plugins are you using, on which version of Nagios?<br>
There have been bugs in some versions of the plugin that might cause<br>
results like that, but there's not enough information here to know if<br>
that's the case with your issue.<br>
</blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br>Cordially,<br>Shadhin Rahman<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Cordially,<br>Shadhin Rahman<br>