configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 114  →  ?path2? @ 115
/monit/debian/templates/mosquitto
@@ -0,0 +1,3 @@
check process mosquitto with pidfile /var/run/mosquitto.pid
start = "/etc/init.d/mosquitto start"
stop = "/etc/init.d/mosquitto stop"
/monit/debian/templates/snmpd
@@ -3,8 +3,8 @@
###########################################################################
 
check process snmpd with pidfile /var/run/snmpd.pid
start program = "/sbin/service snmpd start"
stop program = "/sbin/service snmpd stop"
start program = "/etc/init.d/snmpd start"
stop program = "/etc/init.d/snmpd stop"
if failed host localhost port 161 type udp then restart
if failed host localhost port 199 type tcp then restart
if 5 restarts within 5 cycles then timeout
# if failed host localhost port 199 type tcp then restart
if 5 restarts within 5 cycles then timeout