configuration-templates – Diff between revs 29 and 50
?pathlinks?
Rev 29 | Rev 50 | |||
---|---|---|---|---|
Line 3... | Line 3... | |||
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
4 | |
4 | |
|
5 | check process crond with pidfile /var/run/crond.pid |
5 | check process crond with pidfile /var/run/crond.pid |
|
6 | group system |
6 | group system |
|
7 | group crond |
- | ||
8 | start program = "/etc/init.d/cron start" |
- | ||
9 | stop program = "/etc/init.d/cron stop" |
- | ||
10 | if 5 restarts with 5 cycles then timeout |
7 | group crond |
|
11 | depend cron_bin |
8 | depend cron_bin |
|
12 | depend cron_rc |
9 | depend cron_rc |
|
- | 10 | depend cron_spool |
||
- | 11 | start program = "/etc/init.d/cron start" |
||
- | 12 | stop program = "/etc/init.d/cron stop" |
||
Line 13... | Line 13... | |||
13 | depend cron_spool |
13 | if 5 restarts with 5 cycles then timeout |
|
14 | |
14 | |
|
15 | check file cron_bin with path /usr/sbin/cron |
15 | check file cron_bin with path /usr/sbin/cron |
|
Line 20... | Line 20... | |||
20 | group crond |
20 | group crond |
|
21 | include /etc/monit/templates/rootbin |
21 | include /etc/monit/templates/rootbin |
|
Line 22... | Line 22... | |||
22 | |
22 | |
|
23 | check directory cron_spool with path /var/spool/cron/crontabs |
23 | check directory cron_spool with path /var/spool/cron/crontabs |
|
24 | group crond |
24 | group crond |
|
25 | if failed permission 1730 then unmonitor |
25 | if failed permission 1730 then alert |
|
26 | if failed uid root then unmonitor |
26 | if failed uid root then alert |