Page 1 of 1

check_dhcp not working.

Posted: Fri Feb 01, 2019 1:35 am
by vinish098
Hi,

I'm trying to monitor windows DHCP server. But when I used check_dhcp plugin I faced the error:" Could not bind socket to interface eth0. Check your privileges" I have tried by running the command /usr/local/nagios/libexec/check_dhcp for this also same error came. Pls help me to troubleshoot this problem. I have added nagios user in sudoers also but it didn't work for me.

Re: check_dhcp not working.

Posted: Fri Feb 01, 2019 9:46 am
by scottwilkerson
Can you show the permissions here

Code: Select all

ls -l /usr/local/nagios/libexec/check_dhcp
It should be as follows

Code: Select all

-rwsrwxr-x 1 root nagios 144569 Jul 12  2018 /usr/local/nagios/libexec/check_dhcp