Tuesday, 3 September 2013

Monit configuration for Apache

Monit configuration for Apache

I am new to Monit and have just uncommented a section in the config file
that us required by the Apache monitoring section.
check file
apache_bin with path /usr/local/apache/bin/httpd
if failed checksum and
expect the sum 8f7f419955cefa0b33a2ba316cba3659 then unmonitor
if failed permission 755 then unmonitor
if failed uid root then unmonitor
if failed gid root then unmonitor
alert security@foo.com on {
checksum, permission, uid, gid, unmonitor <-- line 157
} with the mail-format { subject: Alarm! }
group server
When I do this reload doesn't work and I get an error on line 157 about
'unmonitor'.
Any info on how to simply configure Monit appreciated..

No comments:

Post a Comment