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.
check_dhcp not working.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_dhcp not working.
Can you show the permissions here
It should be as follows
Code: Select all
ls -l /usr/local/nagios/libexec/check_dhcpCode: Select all
-rwsrwxr-x 1 root nagios 144569 Jul 12 2018 /usr/local/nagios/libexec/check_dhcp