# vsftpd monit-cn template check process vsftpd with pidfile "/var/run/vsftpd/vsftpd.pid" start program = "/etc/init.d/vsftpd start" stop program = "/etc/init.d/vsftpd stop" if failed host 127.0.0.1 port 21 protocol ftp then restart