configuration-templates – Diff between revs 50 and 90
?pathlinks?
Rev 50 | Rev 90 | |||
---|---|---|---|---|
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 acpid with pidfile "/var/run/acpid.pid" |
- | ||
6 | group system |
- | ||
7 | group acpid |
5 | check process acpid with pidfile "/var/run/acpid.pid" |
|
8 | start program = "/etc/init.d/acpid start" |
6 | start program = "/etc/init.d/acpid start" |
|
9 | stop program = "/etc/init.d/acpid stop" |
7 | stop program = "/etc/init.d/acpid stop" |
|
10 | if 5 restarts within 5 cycles then alert |
8 | if 5 restarts within 5 cycles then alert |
|
11 | depends on acpid_bin |
9 | depends on acpid_bin |
|
Line 12... | Line 10... | |||
12 | depends on acpid_rc |
10 | depends on acpid_rc |
|
13 | |
- | ||
14 | check file acpid_bin with path "/usr/sbin/acpid" |
11 | |
|
Line 15... | Line 12... | |||
15 | group acpid |
12 | check file acpid_bin with path "/usr/sbin/acpid" |
|
16 | include /etc/monit/templates/rootbin |
- | ||
17 | |
13 | include /etc/monit/templates/rootbin |
|
18 | check file acpid_rc with path "/etc/init.d/acpid" |
14 | |