# $Id: dhcpd,v 1.1 2004/10/18 05:55:25 homyakov Exp $

check process dhcpd with pidfile /var/run/dhcpd.pid
	group dhcp
	group servers
	start program = "/sbin/service dhcpd start"
	stop  program = "/sbin/service dhcpd stop"
	if failed host localhost port 67 with type udp then restart
	if 5 restarts with 5 cycles then timeout
	depend on dhcpd_bin
	depend on dhcpd_cf

check file dhcpd_bin with path /usr/sbin/dhcpd
	group dhcp
	include /etc/monitrc.d/templates/rootbin

check file dhcpd_cf with path /etc/dhcpd.conf
	group postfix 
	include /etc/monitrc.d/templates/rootrc


