eMonit is a work in progress fork of monit (which probably will be less and less supported as the VERY GOOD MMONIT is getting bigger).
eMonit focus on bug correction if any and adding a edition function to the embedded http api.
To build eMonit, you need bash, autogen, gcc and make
call the bootstrap script and then configure and alast make.
refer to the README. And:
Setting webhome in the configuration enable monit to look for files.
set webhome /var/www/monit
As an example favicon.ico can be put here:
/var/www/monit/favicon.ico
configuration(s) path[, path[, ...]]
(1) check process apache
(2) with pidfile "/usr/local/apache/logs/httpd.pid"
(3) ...
(4) configuration /var/www/conf/httpd.conf
(5)
(6) check file httpd with path /usr/local/apache/bin/httpd
(7) if failed checksum then unmonitor
(8) configurations /var/www/conf/httpd.conf, /var/www/conf/vhosts.conf
set storage /var/db/monit
ENJOY