1 # bind9 monit-cn template
3 check process bind with pidfile "/var/run/bind/run/named.pid"
4 start program = "/etc/init.d/bind9 start"
5 stop program = "/etc/init.d/bind9 stop"
6 if failed host 127.0.0.1 port 53 type tcp
8 if failed host 127.0.0.1 port 53 type udp