Re: [Nagios-users] check ping unusual issue

2009-08-19 Thread shadih rahman
I think I have found the problem,  Please see the following theread

http://article.gmane.org/gmane.network.nagios.plugins.devel/6738

On Wed, Aug 19, 2009 at 9:54 AM, shadih rahman shadhi...@gmail.com wrote:

 I am using nagios-3.0.6 and nagios plugins-1.4.13

  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

 check_ping -H HostA -t 45 -4 -w 200.0,30% -c 300.0,40% -p 1
 PING CRITICAL - Packet loss = 75%, RTA = 2.17
 ms|rta=2.168000ms;200.00;300.00;0.00 pl=75%;30;40;0


 On Tue, Aug 18, 2009 at 8:37 PM, Morris, Patrick patrick.mor...@hp.comwrote:

 On Tue, 18 Aug 2009, shadih rahman wrote:

  All,
 My check ping result is not making sense.  I have the following in
 commands.cfg
 
  define command{
  command_namecheck-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.

 Which version of the plugins are you using, on which version of Nagios?
 There have been bugs in some versions of the plugin that might cause
 results like that, but there's not enough information here to know if
 that's the case with your issue.




 --
 Cordially,
 Shadhin Rahman




-- 
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@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

[Nagios-users] check ping unusual issue

2009-08-18 Thread shadih rahman
All,
   My check ping result is not making sense.  I have the following in
commands.cfg

define command{
command_namecheck-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@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

Re: [Nagios-users] check ping unusual issue

2009-08-18 Thread arly arly
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 shadhi...@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@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@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


Re: [Nagios-users] check ping unusual issue

2009-08-18 Thread Morris, Patrick
On Tue, 18 Aug 2009, shadih rahman wrote:

 All,
My check ping result is not making sense.  I have the following in 
 commands.cfg
 
 define command{
 command_namecheck-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.

Which version of the plugins are you using, on which version of Nagios?
There have been bugs in some versions of the plugin that might cause
results like that, but there's not enough information here to know if
that's the case with your issue.

--
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@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