Hi all,

I need to monitor our dhcp server and came to see the check_dhcp plugin.

However I'm getting this error when initiating the command:

nag...@tool:~/libexec$ ./check_dhcp -s serveip1
Error: Could not bind socket to interface eth0.  Check your privileges...

But when I am on root, I get this: 
r...@tool:/usr/local/nagios/libexec# ./check_dhcp -s serveip1
OK: Received 1 DHCPOFFER(s), max lease time = 86400 sec

ls -als on check_dhcp:
76 -rwxr-xr-x 1 nagios nagios 72834 2009-04-27 13:06 check_dhcp

Do I need to do something like set permissions on serveip1 server? 

Please advise.

Thanks! 
DB



      
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to