1 # dovecot monit-cn template
3 check process dovecot with pidfile "/var/run/dovecot/master.pid"
5 start program = "/etc/init.d/dovecot start"
6 stop program = "/etc/init.d/dovecot stop"
7 if failed host 127.0.0.1 port 143 protocol imap
9 if failed host 127.0.0.1 port 110 protocol pop