configuration-templates – Diff between revs 29 and 50

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
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 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 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 8 depend cron_bin
12 depend cron_rc 9 depend cron_rc
13 depend cron_spool 10 depend cron_spool
-   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   14  
15 check file cron_bin with path /usr/sbin/cron 15 check file cron_bin with path /usr/sbin/cron
16 group crond 16 group crond
17 include /etc/monit/templates/rootbin 17 include /etc/monit/templates/rootbin
18   18  
19 check file cron_rc with path "/etc/init.d/cron" 19 check file cron_rc with path "/etc/init.d/cron"
20 group crond 20 group crond
21 include /etc/monit/templates/rootbin 21 include /etc/monit/templates/rootbin
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
27 if failed gid crontab then unmonitor 27 if failed gid crontab then alert
28   28