# # Monit control file # # Generated by puppet for <%= fqdn %>, DO NOT MODIFY! # # log to syslog set logfile syslog facility log_daemon # always monitor ssh check process sshd with pidfile /var/run/sshd.pid start program = "/etc/init.d/ssh start" stop program = "/etc/init.d/ssh stop" if failed port 22 protocol ssh then restart # include additional config files include /etc/monit/conf.d/*