File: http://svn.grimore.org/configuration-templates/monit/debian/templates/cron -

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3      ##
###########################################################################
 
check process crond with pidfile /var/run/crond.pid
   group system
   group crond
   depend cron_bin
   depend cron_rc
   depend cron_spool
   start program = "/etc/init.d/cron start"
   stop  program = "/etc/init.d/cron stop"
   if 5 restarts with 5 cycles then timeout
 
check file cron_bin with path /usr/sbin/cron
   group crond
   include /etc/monit/templates/rootbin
 
check file cron_rc with path "/etc/init.d/cron"
   group crond
   include /etc/monit/templates/rootbin
 
check directory cron_spool with path /var/spool/cron/crontabs
   group crond
   if failed permission 1730 then alert
   if failed uid root then alert
   if failed gid crontab then alert

unix/monit/debian/templates/cron.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.