problem about check_dhcp

Per Jørgensen udbytossen at gmail.com
Fri Jul 28 16:58:45 CEST 2006


Hi Users!

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...

My /etc/shadow:
nagios:!:13230:0:99999:7:::
/etc/group
nagios:!:1000:
nagcmd:!:1001:wwwrun,nagios
/etc/passwd
nagios:x:1000:100::/home/nagios:/bin/bash

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.

Its running on a SUSE system as a Distributed server..
What should I do to make nagios get the rigths to make this  dhcp check???

Thanks
Per Jørgensen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060728/7a002ff2/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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