configuration-templates – Diff between revs 29 and 115

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 29 Rev 115
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 check process snmpd with pidfile /var/run/snmpd.pid 5 check process snmpd with pidfile /var/run/snmpd.pid
6 start program = "/sbin/service snmpd start" 6 start program = "/etc/init.d/snmpd start"
7 stop program = "/sbin/service snmpd stop" 7 stop program = "/etc/init.d/snmpd stop"
8 if failed host localhost port 161 type udp then restart -  
9 if failed host localhost port 199 type tcp then restart -  
10 if 5 restarts within 5 cycles then timeout 8 if failed host localhost port 161 type udp then restart
-   9 # if failed host localhost port 199 type tcp then restart
-   10 if 5 restarts within 5 cycles then timeout