Unable to monitor windows DHCP server in nagiosXI.

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

Re: Unable to monitor windows DHCP server in nagiosXI.

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

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by scottwilkerson »

What error are you getting now? Before you were getting:

Code: Select all

Could not bind socket to interface eth0
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by scottwilkerson »

Also what do you get with this

Code: Select all

./check_dhcp -v -i ens192
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Unable to monitor windows DHCP server in nagiosXI.

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

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by scottwilkerson »

Please show the output of

Code: Select all

./check_dhcp -v -u -i ens192
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by vinish098 »

Hi Scott,

Thanks for your reply.

Please check attachment.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by scottwilkerson »

Ok, it looks like you received an OFFER there, just remove the -v and it should be good
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Unable to monitor windows DHCP server in nagiosXI.

Post by vinish098 »

Hi scott,

please check below screenshot.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to monitor windows DHCP server in nagiosXI.

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
vinish098
Posts: 136
Joined: Fri Oct 21, 2016 6:30 am

Re: Unable to monitor windows DHCP server in nagiosXI.

Post 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.
Locked