Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me

Directory Tree


0 votes
Current Version
Last Release Date
Compatible With
  • Nagios 3.x
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
A command to check a remote DHCP service's health. The DHCP server can sit on any network/subnet. The command will check whether a DHCP server can offer any IP addresses to a specified subnet.
A Perl script to be used as a Nagios check command.
The script tests whether a DHCP server (localnet or
remote) can offer IP addresses.

This script can be used to test whether a DHCP
server can offer IP addresses to a specific subnet.

The script emulates a DHCP relay to check whether a
remote DHCP server can talk DHCP to the Nagios Server.

The DHCP server and the Nagios server NEED NOT both sit
on the same network.

Usage: -H ip_addr
IP addr for DHCP server (IP addr; not a Hostname.
We won't try to resolve hostnames.)
-m mac_addr
":" separated Mac address to be used for the emulated client
Default value : "99:mm:dd:hh:mm:ss"
where mm/dd/hh/mm/ss is the system date-time
-n network
Emulated Network addr (the network address on which
the emulated client is assumed to be sitting on).
This option is especially convenient to check DHCP
service on a specific subnet if you have a central
DHCP server serving a bunch of disparate subnets.
Make sure that this network is a REAL network and is
served by the DHCP server.
-N netmask
Netmask for the emulated network.
-v Be verbose... Useful for command line testing/debugging.
-t timeout in secs
Note that the script will time out while waiting the server
to make an offer when the address pool is exhausted.
e.g. -v
-m 12:22:33:44:55:66
-t 10

See the script's source for Installation notes.