#
# THIS FILE IS MANAGED BY PUPPET
# /etc/puppet/modules/production/monit/common/etc/monit/conf.d/nrpe.common
#

check process nrpe with pidfile /var/run/nagios/nrpe.pid
  start program = "/etc/init.d/nagios-nrpe-server start"
  stop program = "/etc/init.d/nagios-nrpe-server stop"
  if failed port 5666 then restart
  if 5 restarts within 5 cycles then timeout
