From: Patrick M. <pat...@hp...> - 2008-09-22 17:38:54
|
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? |