Menu

Home

sven

eMonit.

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.
It also add some new feature

Build

To build eMonit, you need bash, autogen, gcc and make
call the bootstrap script and then configure and alast make.

Usage

refer to the README. And:

  • Monit is now able to be a very small webserver.

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
  • You can specify a set of files for almost each entry (like depends),
    those files (will be editable) are chown in the interface

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
  • For each element you may define and use custom commands (Work In Progress)

custom COMANDNAME command "program argument" [with timeout]

check directory stuff with path /whatever
  if failed permission 700 then custom CC
  configuration /tmp/badfile
  custom CC command "/usr/bin/touch /tmp/foo"
  • The collection data may be sent as json

configuration line:

set mmonit json http[s]://same.as.before/collector [options]
  • The http server may provide json status

url:

/_status[2]?format=json
  • Maybe ongoing add service to monitor

relatively complex interface because so many option, or just push a file to create a config :-)

ENJOY

Project Members:


MongoDB Logo MongoDB