configuration-templates
/monit/debian/templates/rsyslog |
@@ -5,12 +5,12 @@ |
check process rsyslogd with pidfile /var/run/rsyslogd.pid |
group system |
group rsyslogd |
start program = "/etc/init.d/rsyslog start" |
stop program = "/etc/init.d/rsyslog stop" |
if 5 restarts with 5 cycles then timeout |
depend on rsyslogd_bin |
depend on rsyslogd_rc |
depend on rsyslog_file |
start program = "/etc/init.d/rsyslog start" |
stop program = "/etc/init.d/rsyslog stop" |
#if 5 restarts with 5 cycles then timeout |
|
check file rsyslogd_bin with path /usr/sbin/rsyslogd |
group rsyslogd |
@@ -24,6 +24,6 @@ |
group rsyslogd |
## This may not work for idle machines. |
# if timestamp > 65 minutes then alert |
if failed permission 640 then unmonitor |
if failed uid root then unmonitor |
if failed gid adm then unmonitor |
if failed permission 640 then alert |
if failed uid root then alert |
if failed gid adm then alert |