The way I have done this is to run NRPE on the machine that should be the DHCP server, with this command defined:
command[check_ndhcp]=/usr/lib/nagios/plugins/negate /usr/lib/nagios/plugins/check_dhcp -i eth0 Something similar may work for you if your DHCP server is on a Linux box. This just negates the normal check_dhcp command, so that if no offer is received (on the interface serving DHCP, it should not be), it returns with an OK status. If it does get an offer, a Critical is returned and I know it is time to "seek-and-destroy". Marc ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
