[Nagiosplug-help] Help with check_dhcp and check_disk_smb

John P. Rouillard rouilj at cs.umb.edu
Thu Nov 2 13:30:52 CET 2006


In message <1162418443.12796.72.camel at rasbora.orcascorp.pvt>,
Michael Miller writes:
>check_dhcp will not work for me.  I build the nagios plugins 1.4.4
>tarball as the user nagios and I also ran the make install-root like the
>README file told me too do.

Hmm, not sure about that. Unless there is  bug in the makefile.

>I am getting this error "Error: Could not bind socket to interface eth0.
>Check your privileges..." so I checked the privileges and they look like
>this. 
>
>-r-sr-x---  1 nagios nagios  67642 Nov  1 13:46 check_dhcp

Wrong owner. The make install-root should be run as root and the owner
of check_dhcp should be root with the permissions above.

>$ ./check_dhcp -V
>check_dhcp (nagios-plugins 1.4.4) 1.5
>
>I can run the check_dhcp plugin as root just fine.

As expected you need to change the owner of the binary.

				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.




More information about the Help mailing list