check ping unusual issue

arly arly arlytex at gmail.com
Tue Aug 18 23:48:39 CEST 2009


please read

http://nagiosplugins.org/man/check_ping
syntax is

-w rta,pl  -c rta,pl

rta==round trip average,
pl = packet lost

of course warning should be less than critical. You have all same..

try :   -w 200.0 30 -c 300.0, 40



Nice regards,

2009/8/18 shadih rahman <shadhin71 at gmail.com>:
> All,
>    My check ping result is not making sense.  I have the following in
> commands.cfg
>
> 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
>         }
>
>
> However I see the following output
>
>
>  Mon Aug 17 13:06:34 2009];HOST ALERT: HostA;UP;SOFT;2;PING OK - Packet loss
> = 87%, RTA = 2.09 ms
> [Mon Aug 17 13:09:24 2009];HOST ALERT: Host B;DOWN;SOFT;2;PING CRITICAL -
> Packet loss = 94%, RTA = 4001.56 ms
>  [Mon Aug 17 13:14:44 2009];HOST ALERT: Host C;UP;SOFT;3;PING OK - Packet
> loss = 93%, RTA = 1.15 ms
>  [Mon Aug 17 13:55:14 2009];HOST ALERT: Host D;UP;SOFT;2;PING OK - Packet
> loss = 83%, RTA = 2.19 ms
>
>
> How can I have 87 % packet loss when I am sending only on packet.  Can
> someone please explain this to me.  Thanks in advance.
>
>
>
>
>
>
>
>
>
> --
> Cordially,
> Shadhin Rahman
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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