configuration-templates – Diff between revs 29 and 115
?pathlinks?
Rev 29 | Rev 115 | |||
---|---|---|---|---|
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 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 |
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 |
- | ||
11 | |
9 | # if failed host localhost port 199 type tcp then restart |
|
- | 10 | if 5 restarts within 5 cycles then timeout |
||
- | 11 | |
||
12 |
|
- | ||
13 | |
- | ||
14 | |
- | ||
15 | |
- |