configuration-templates – Diff between revs 33 and 50

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 33 Rev 50
Line 3... Line 3...
3 ########################################################################### 3 ###########################################################################
Line 4... Line 4...
4   4  
5 check process rsyslogd with pidfile /var/run/rsyslogd.pid 5 check process rsyslogd with pidfile /var/run/rsyslogd.pid
6 group system 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 7 group rsyslogd
11 depend on rsyslogd_bin 8 depend on rsyslogd_bin
12 depend on rsyslogd_rc 9 depend on rsyslogd_rc
-   10 depend on rsyslog_file
-   11 start program = "/etc/init.d/rsyslog start"
-   12 stop program = "/etc/init.d/rsyslog stop"
Line 13... Line 13...
13 depend on rsyslog_file 13 #if 5 restarts with 5 cycles then timeout
14   14  
15 check file rsyslogd_bin with path /usr/sbin/rsyslogd 15 check file rsyslogd_bin with path /usr/sbin/rsyslogd
Line 22... Line 22...
22   22  
23 check file rsyslog_file with path /var/log/messages 23 check file rsyslog_file with path /var/log/messages
24 group rsyslogd 24 group rsyslogd
25 ## This may not work for idle machines. 25 ## This may not work for idle machines.
26 # if timestamp > 65 minutes then alert 26 # if timestamp > 65 minutes then alert
27 if failed permission 640 then unmonitor 27 if failed permission 640 then alert
28 if failed uid root then unmonitor 28 if failed uid root then alert