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

[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

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:

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%

[Nagios-users] check ping explanation required

2009-07-14 Thread shadih rahman
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{

Re: [Nagios-users] check ping explanation required

2009-07-14 Thread David Rosenstrauch
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

Re: [Nagios-users] check ping explanation required

2009-07-14 Thread David Rosenstrauch
shadih rahman wrote: David, Thanks for your reply. I am ensuring one icmp packet by using -p option in my command definition. Please advise on this. Thanks On Tue, Jul 14, 2009 at 2:40 PM, David Rosenstrauch dar...@darose.netwrote: The plugin issues 5 pings by default:

[Nagios-users] Check-ping Vs. Mac address table expiration

2009-03-27 Thread Drew Weaver
A very small number of hosts on my network serve important roles but aren't always in the MAC address table of the switch they're connected to. Their MAC address assignment gets timed out by the default (i think its 5 minutes) because no data has been sent to them in that amount of time. For

Re: [Nagios-users] Check-ping Vs. Mac address table expiration

2009-03-27 Thread Paul Weaver
Production Facilities, BBC News -Original Message- From: Drew Weaver [mailto:drew.wea...@thenap.com] Sent: 27 March 2009 12:25 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check-ping Vs. Mac address table expiration A very small number of hosts on my network

Re: [Nagios-users] check-ping

2008-07-15 Thread Andreas Ericsson
Jay R. Ashworth wrote: On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote: Jeff Koch wrote: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security

Re: [Nagios-users] check-ping

2008-07-15 Thread Jay R. Ashworth
On Tue, Jul 15, 2008 at 10:51:37AM +0200, Andreas Ericsson wrote: [ me: ] I've left Jeff's quote in so you can see, Andreas, that you misread him. He didn't say SUID root. He said sudo -- he plans to set the nagios Linux user up so it can sudo to run ping as root. Ah, right. Having had

Re: [Nagios-users] check-ping

2008-07-14 Thread Andreas Ericsson
Jeff Koch wrote: Hi Philipp: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security reasons. We'll make nagios sudo root for ping. That should solve the problem.

Re: [Nagios-users] check-ping

2008-07-14 Thread Christopher Odenbach
Hi, Changing /bin/ping to not be suid root for security reasons and then changing Nagios to be suid root to fix a problem this causes seems more than just a little backwards to me. Do chmod 4711 /bin/ping instead. ping is a simple program of ~4000 LoC. It has been thouroughly audited for

Re: [Nagios-users] check-ping

2008-07-14 Thread Jay R. Ashworth
On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote: Jeff Koch wrote: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security reasons. We'll make nagios

Re: [Nagios-users] check-ping

2008-07-13 Thread Jeff Koch
Hi Philipp: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security reasons. We'll make nagios sudo root for ping. That should solve the problem. At 12:56 PM

[Nagios-users] Check ping error code 139

2006-08-17 Thread Ilia Anokhin
Hi everyone. I've faced a strange thing using nagios - not long after primary DNS has gone down, check_ping began to return error code 139 (Return code 139 is out of bounds). Does any one know what was going on with it? -

Re: [Nagios-users] Check ping error code 139

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Ilia Anokhin Sent: Thursday, August 17, 2006 8:00 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check ping error code 139 Hi everyone. I've faced a strange