I recently implemented ISC DHCP Failover and it's working beautifully, but I'd like to monitor the current status of the failover using Nagios.
Ultimately, I would like my Nagios check to:
Monitoring the dhcpd
process to see if it is running or not is unfortunately not the true solution -- a failover state can activate even when dhcpd
is still running.
From what I've researched, it appears dhcpd
cannot be queried for a current status. Aside from parsing log files, does anyone know of a clean way to determine whether a dhcpd
server is currently in a failover state or not?