configuration-templates – Blame information for rev 50

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
50 office 8 depend cron_bin
9 depend cron_rc
10 depend cron_spool
29 office 11 start program = "/etc/init.d/cron start"
12 stop program = "/etc/init.d/cron stop"
13 if 5 restarts with 5 cycles then timeout
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
50 office 25 if failed permission 1730 then alert
26 if failed uid root then alert
27 if failed gid crontab then alert