Problem with check_ping

Marc Powell marc at ena.com
Sat Aug 14 16:49:25 CEST 2004


It looks like /bin/ping isn't executable as the nagios user. You probably need to just suid it to root --

chmod u+s /bin/ping
chmod 644 /bin/ping

--
Marc

________________________________________
From: Quenton [mailto:Quenton_help at gmx.de] 
Sent: Saturday, August 14, 2004 3:36 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Problem with check_ping

Hi I have a problem with the check_ping command,
the status of my hosts is allways down even if all the services are all
OK , the error in my log says:
 
could not interpret out put from ping command.

[snip]

Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;SOFT;9;/bin/ping -n -U -c 1 10.0.24.19 
Aug 12 19:07:38 amsterdam nagios: HOST ALERT: amsterdam;DOWN;HARD;10;/bin/ping -n -U -c 1 10.0.24.19 
Aug 12 19:07:38 amsterdam nagios: HOST NOTIFICATION: nagios;amsterdam;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1 10.0.24 
Could Anybody give me an advice ?
 
 



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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