1 # bind8 monit-cn template
3 check process bind with pidfile "/var/run/named.pid"
4 start program = "/etc/init.d/bind start"
5 stop program = "/etc/init.d/bind 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