Ping Service Not Working on Nagios 1.2 / FreeBSD 5.2.1-RELEASE

granny at rakis.net granny at rakis.net
Mon Apr 5 22:30:40 CEST 2004


On Mon, Apr 05, 2004 at 03:23:40PM -0500, Marc Powell wrote:
> On Monday, April 05, 2004 3:07 PM, granny at rakis.net shared with us:
> 
> > I'm trying to run Nagios 1.2 on a FreeBSD 5.2.1-RELEASE box.  The
> > main problem is that Nagios says that it's not able to ping anything,
> > especially the box that is running Nagios itself.  :)  
> 
> What does it report?

Host  Service  Status  Last Check  Duration  Attempt  Status Information 
nt1   PING     CRITICAL 04-06-2004 02:19:43 2d 21h 30m 9s 1/3 (Return code 
							      of 127 is out 
							      of bounds - 
							      plugin may be 
							      missing)  

> > I tried to see if check_ping wasn't working, but it seems to be OK:
> > 
> > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c
> > 500,100% PING OK - Packet loss = 0%, RTA = 0.08 ms bash-2.05b$ 
> > 
> > bash-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60%
> > PING OK - Packet loss = 0%, RTA = 0.09 ms bash-2.05b$ 
> 
> Were these tests done as root or as the nagios user?

Don't remember, so here is a test done as root:

lab-nagios# ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100%
PING OK - Packet loss = 0%, RTA = 0.08 ms
lab-nagios# ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60%
PING OK - Packet loss = 0%, RTA = 0.08 ms
lab-nagios# 

Here is the test done as the user nagios:

su-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,100%
PING OK - Packet loss = 0%, RTA = 0.08 ms
su-2.05b$ ./check_ping -t 300 -H 172.18.3.138 -w 100,20% -c 500,60%
PING OK - Packet loss = 0%, RTA = 0.08 ms
su-2.05b$ 

Thanks-

Rachel


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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