check-ping

Jeff Koch jeffkoch at intersessions.com
Sun Jul 13 18:26:48 CEST 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 not interpret output from ping command

But yet when I run the same command from the command line I get a normal 
result:

# /bin/ping -n -U -w 30 -c 5 64.68.144.25
PING 64.68.144.25 (64.68.144.25) 56(84) bytes of data.
64 bytes from 64.68.144.25: icmp_seq=0 ttl=64 time=0.162 ms
64 bytes from 64.68.144.25: icmp_seq=1 ttl=64 time=0.122 ms
64 bytes from 64.68.144.25: icmp_seq=2 ttl=64 time=0.129 ms
64 bytes from 64.68.144.25: icmp_seq=3 ttl=64 time=0.131 ms
64 bytes from 64.68.144.25: icmp_seq=4 ttl=64 time=0.145 ms

and permissions are open for nagios to execute the ping command

and when I execute the 'check_ping' command directly with:

libexec# ./check_ping -H 64.68.144.76  -w 3000.0,80% -c 5000.0,100% -p 5
PING OK - Packet loss = 0%, RTA = 0.14 ms

I get a good result

We're using CentOS 3.6, Nagios 3.03 and nagios-plugins-1.4.11

Any ideas would be appreciated. We need to get this working.

Thanks.



Best Regards,

Jeff Koch 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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