configuration-templates
/monit/debian/templates/puppet-master |
@@ -3,7 +3,6 @@ |
########################################################################### |
|
check process puppet-master with pidfile /var/run/puppet/master.pid |
start program "/bin/systemctl start puppet-master.service" |
stop program "/bin/systemctl stop puppet-master.service" |
#if failed host 127.0.0.1 port 8140 type tcp then restart |
start program "/bin/systemctl start puppet-master" |
stop program "/etc/init.d/ssh stop puppet-master" |
# if 5 restarts within 5 cycles then timeout |