#
# THIS FILE IS MANAGED BY PUPPET
# /etc/puppet/modules/production/monit/common/etc/monit/conf.d/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
  if 5 restarts within 5 cycles then timeout
