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 wrote:
> I am using nagios-3.0.6 and nagios plugins-1.4.13
>
> As suggested I have read the check_ping man page.
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.
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 :
> All,
> My check pin
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
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 wrote:
>> The plugin issues 5 pings by default:
$USER1$/check_ping -H $H
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
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{
News 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 s
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 wh
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. Havin
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 sec
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
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 audit
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 probl
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 7/13/2008,
Hi:
We just started with nagios two days ago and are probably doing something
stupid. We just can't get 'check-host-alive' or 'check-ping' to work.
The web browser status report shows that our servers are down when we know
they are up:
/bin/ping -n -U -w 30 -c 5 64.68.144.25
CRITICAL - Could
> -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 eve
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?
-
Us
18 matches
Mail list logo