configuration-templates – Blame information for rev 33

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 rsyslogd with pidfile /var/run/rsyslogd.pid
6 group system
7 group rsyslogd
8 start program = "/etc/init.d/rsyslog start"
9 stop program = "/etc/init.d/rsyslog stop"
10 if 5 restarts with 5 cycles then timeout
11 depend on rsyslogd_bin
12 depend on rsyslogd_rc
13 depend on rsyslog_file
14  
15 check file rsyslogd_bin with path /usr/sbin/rsyslogd
16 group rsyslogd
17 include /etc/monit/templates/rootbin
18  
19 check file rsyslogd_rc with path "/etc/init.d/rsyslog"
20 group rsyslogd
21 include /etc/monit/templates/rootbin
22  
23 check file rsyslog_file with path /var/log/messages
24 group rsyslogd
33 office 25 ## This may not work for idle machines.
26 # if timestamp > 65 minutes then alert
29 office 27 if failed permission 640 then unmonitor
28 if failed uid root then unmonitor
29 if failed gid adm then unmonitor