configuration-templates – Blame information for rev 29

Subversion Repositories:
Rev:
Rev Author Line No. Line
29 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 check process crond with pidfile /var/run/crond.pid
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
11 depend cron_bin
12 depend cron_rc
13 depend cron_spool
14  
15 check file cron_bin with path /usr/sbin/cron
16 group crond
17 include /etc/monit/templates/rootbin
18  
19 check file cron_rc with path "/etc/init.d/cron"
20 group crond
21 include /etc/monit/templates/rootbin
22  
23 check directory cron_spool with path /var/spool/cron/crontabs
24 group crond
25 if failed permission 1730 then unmonitor
26 if failed uid root then unmonitor
27 if failed gid crontab then unmonitor