configuration-templates

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 28  →  ?path2? @ 29
/monit/debian/templates/snmpd
@@ -0,0 +1,10 @@
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
 
check process snmpd with pidfile /var/run/snmpd.pid
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