1 ## Begin - Generated by CARNet package monit-cn
3 # This is a monit-cn template file. REMOVE this whole comment block if
4 # you DON'T WANT monit-cn to edit/remove/delete your configuration file.
6 ## End - Generated by CARNet package monit-cn
8 check process pdnsrecursor with pidfile "/var/run/pdns_recursor.pid"
9 start program = "/etc/init.d/pdns-recursor start"
10 stop program = "/etc/init.d/pdns-recursor stop"
11 #if failed host 127.0.0.1 port 53 type tcp
13 #if failed host 127.0.0.1 port 53 type udp