DHCP and BOOTP

check_dhcp_relayed

Description:

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.

Current Version

1

Last Release Date

2012-11-27

Compatible With

  • Nagios 3.x

License

GPL


Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Project Notes
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: check_dhcp_relayed.pl -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. e.g. 139.179.123.0 -N netmask Netmask for the emulated network. e.g. 255.255.255.0 -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. check_dhcp_relayed.pl -v -H 139.179.1.168 -m 12:22:33:44:55:66 -n 139.179.123.0 -N 255.255.255.0 -t 10 See the script's source for Installation notes.
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
52,382