configuration-templates
/monit/debian/templates/snmpd |
@@ -3,8 +3,8 @@ |
########################################################################### |
|
check process snmpd with pidfile /var/run/snmpd.pid |
start program = "/etc/init.d/snmpd start" |
stop program = "/etc/init.d/snmpd stop" |
start program = "/sbin/service snmpd start" |
stop program = "/sbin/service 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 |