check_ping can't interpret output

Marc Powell marc at ena.com
Tue Jul 29 14:09:36 CEST 2008


On Jul 29, 2008, at 12:31 AM, Dave Close wrote:

> # su - apache -c "/usr/lib/nagios/plugins/check_ping -H machine -w
> 3000.0,80% -c 5000.0,100% -p 1"
> /bin/ping -n -U -w 10 -c 1 machine
> CRITICAL - Could not interpret output from ping command
>

Beyond Hugo's comments about running as the user nagios, this would  
seem to indicate that /bin/ping is not SUID root. Is it? If not, chmod  
u+s /bin/ping.

--
Marc

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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