problem about check_dhcp

Miles O'Neal meo at intrinsity.com
Fri Jul 28 18:41:19 CEST 2006


|I am running into a problem about check_dhcp plugin.
|My user nagios have not the rigth privileges to run this(Even thoug it have
|the exact same rigths as all the others plugins)
|When I run the plugin from a commandline as root - no problem!
|When I run as nagios user:
|/usr/local/nagios/libexec/check_dhcp -s 10.80.10.150
|Error: Could not bind socket to interface eth0.  Check your privileges...
...
|The rigths in libexec:
|-rwxr-xr-x  1 root   root    61374 Jul 28 13:16 check_dhcp
|-rwxr-xr-x  1 root   root    59907 Jul 28 10:33 check_dig
|-rwxr-xr-x  1 root   root    81442 Jul 28 10:33 check_disk
|-rwxr-xr-x  1 root   root     8168 Jul 28 10:33 check_disk_smb
|
|And there it is - no problem by running all the other plugins - but on this
|one I havent got the rigths.

I had to do chmod u+s on the check_dhcp file.

-rwsr-xr-x    1 root     root        16981 Dec 25  2004 check_dhcp

Then it worked.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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