-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/07/08 08:09 AM, Marc Powell wrote: > 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.
You can also use check_icmp (that plugin will have to be setuid root), which should be a bit faster since it does not rely on ping. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjwvI6dZ+Kt5BchYRAuvyAKDAG7lwkb6nprdI5OLOUlJGYRTdowCghkS1 /AvYLZxwLFyBwcoph8qHlWs= =J7tS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- 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@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