check_dhcp not working.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

check_dhcp not working.

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_dhcp not working.

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked