configuration-templates – Blame information for rev 29
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
29 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | check process mdadm with pidfile /var/run/mdadm/monitor.pid |
||
6 | group system |
||
7 | group mdadm |
||
8 | start program = "/etc/init.d/mdadm start" |
||
9 | stop program = "/etc/init.d/mdadm stop" |
||
10 | if 5 restarts with 5 cycles then timeout |
||
11 | depend mdadm_bin |
||
12 | depend mdadm_rc |
||
13 | depend mdadm_conf |
||
14 | |||
15 | check file mdadm_bin with path /sbin/mdadm |
||
16 | group mdadm |
||
17 | include /etc/monit/templates/rootbin |
||
18 | |||
19 | check file mdadm_conf with path /etc/mdadm/mdadm.conf |
||
20 | group mdadm |
||
21 | include /etc/monit/templates/rootrc |
||
22 | |||
23 | check file mdadm_rc with path "/etc/init.d/mdadm" |
||
24 | group mdadm |
||
25 | include /etc/monit/templates/rootbin |