On Mon, 22 Sep 2008, Seth Simmons wrote: > > Last week I moved Nagios to a new box and after a little tweaking got > the old config files working. The only thing that isn't working is > check_dhcp. > > Since I moved it check_dhcp has been returning unknown with the details > as "this plug-in must be run as root or setuid root....could not bind > socket to Ethernet interface eth0. Check your privileges..." > > If I do the check manually as root it works; manually as Nagios returns > that error. I read a couple posts that say to do chmod u+s or chmod +s > on check_dhcp. When I do that I now get that same error both as Nagios > and as root. I did chmod 775 on it and it again works for root but same > error for Nagios. Also tried changing ownership from Nagios to root. > All other plugins working fine. Any ideas? Probably something stupid > I'm missing.
When you did the chmod u+s, did you also change the owner to root? ------------------------------------------------------------------------- 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 [email protected] 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
