configuration-templates – Rev 132
?pathlinks?
###########################################################################
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
###########################################################################
check process snmpd matching snmpd
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