configuration-templates – Diff between revs 29 and 50
?pathlinks?
Rev 29 | Rev 50 | |||
---|---|---|---|---|
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 smartd with pidfile /var/run/smartd.pid |
5 | check process smartd with pidfile /var/run/smartd.pid |
|
6 | group system |
6 | group system |
|
7 | group smartd |
7 | group smartd |
|
8 | start program = "/etc/init.d/smartmontools start" |
- | ||
9 | stop program = "/etc/init.d/smartmontools stop" |
- | ||
10 | if 5 restarts with 5 cycles then timeout |
- | ||
11 | depend smartd_bin |
8 | depend smartd_bin |
|
12 | depend smartd_rc |
9 | depend smartd_rc |
|
- | 10 | start program = "/etc/init.d/smartmontools start" |
||
- | 11 | stop program = "/etc/init.d/smartmontools stop" |
||
- | 12 | # if 5 restarts with 5 cycles then timeout |
||
13 | |
13 | |
|
14 | check file smartd_bin with path /usr/sbin/smartd |
14 | check file smartd_bin with path /usr/sbin/smartd |
|
15 | group smartd |
15 | group smartd |
|
16 | include /etc/monit/templates/rootbin |
16 | include /etc/monit/templates/rootbin |
|
17 | |
17 | |
|
18 | check file smartd_rc with path "/etc/init.d/smartmontools" |
18 | check file smartd_rc with path "/etc/init.d/smartmontools" |
|
19 | group smartd |
19 | group smartd |
|
20 | include /etc/monit/templates/rootbin |
20 | include /etc/monit/templates/rootbin |
|
21 | |
21 | |
|
22 | |
22 | |