check_dhcp is not working while monitoring DHCP server

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 is not working while monitoring DHCP server

Post by vinish098 »

Hello team,

We are monitoring windows dhcp server in Nagios server.

First can you please confirm me below information.
a. what exactly dhcp server is monitoring in Nagios XI?
b. what parameters we can see in Nagios server while monitoring dhcp server?

Please help me for monitoring dhcp server in Nagios. If any document and plugin is available please send me.

Thanking you.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: check_dhcp is not working while monitoring DHCP server

Post by npolovenko »

Hello, @vinish098.

This plugin tests the availability of a given DHCP server using unicast delivery.

If it's not working for you:

Code: Select all

This plugin will need to run with root permissions in order to access priviledged ports 67 & 68. Since Nagios by default runs its plugins under unpriviledged user 'nagios', you will need to setuid root like: 

 chown root:root check_dhcp.pl 
  chmod 4755 check_dhcp.pl 
Also, please install this module:

Code: Select all

yum install perl-IO-Interface
Please check out the list of other DHCP plugins we have on the exchange:
https://exchange.nagios.org/index.php?o ... hword=dhcp
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked