configuration-templates – Diff between revs 115 and 132

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