Page 2 of 4
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Tue Jul 02, 2019 1:17 pm
by vinish098
Hi Scott,
We are using “ens192” interface(Nagios server). I have tried with this interface still facing issue. Please check below command used.
Command: #./check_dhcp -v -u -s <dhcp server ip> -i ens192
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Tue Jul 02, 2019 3:13 pm
by scottwilkerson
What error are you getting now? Before you were getting:
Code: Select all
Could not bind socket to interface eth0
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Tue Jul 02, 2019 3:14 pm
by scottwilkerson
Also what do you get with this
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 7:53 am
by vinish098
Hello team,
The interface name is same "ens192". Firewall is not running whenever we try to run dhcp command still we are facing error: NODHCPOFFERS were received.
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 8:19 am
by scottwilkerson
Please show the output of
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 1:45 pm
by vinish098
Hi Scott,
Thanks for your reply.
Please check attachment.
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 1:47 pm
by scottwilkerson
Ok, it looks like you received an OFFER there, just remove the -v and it should be good
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 2:03 pm
by vinish098
Hi scott,
please check below screenshot.
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 2:08 pm
by scottwilkerson
vinish098 wrote:Hi scott,
please check below screenshot.
The server that is actually offering DHCP requests on your network is from 152.63.2.94 not 172.27.27.104
If you are expecting one from 172.27.27.104 it is not being received from the Nagios server.
this wouldn't be an issue with the plugin, but the server actually giving the DHCPOFFER
Re: Unable to monitor windows DHCP server in nagiosXI.
Posted: Wed Jul 03, 2019 2:16 pm
by vinish098
Hello scott,
152.63.2.94(nagios server) and 172.27.27.104(windows server9dhcp server)).
Trying to monitor dhcp server in nagios.
So, we are facing the issues like below:
1. Error: couldn't bind interface eth0, check your priviliges.
2. Error: nodhcpoffers were received.
please help me.