Projects / Monit

Monit

Monit is a utility for managing and monitoring processes, programs, files, directories, and devices on a Unix system. It conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. It can be used to monitor files, directories, and devices for changes, such as timestamps changes, checksum changes, or size changes. It is controlled via an easy to configure control file based on a free-format, token-oriented syntax. It logs to syslog or to its own log file and notifies users about error conditions via customizable alert messages. It can perform various TCP/IP network checks, protocol checks, and can utilize SSL for such checks. It provides an HTTP(S) interface for access.

Tags
Licenses
Operating Systems
Implementation

RSS Recent releases

  •  03 Sep 2012 21:07

    Release Notes: This is a feature and bugfix release.

    •  16 May 2012 21:52

      Release Notes: This is a feature and bugfix release.

      •  21 Dec 2011 02:57

        Release Notes: This is a bugfix release.

        •  25 Oct 2011 21:08

          Release Notes: This is a feature and bugfix release.

          •  13 Sep 2011 12:18

            Release Notes: A new 'check program' statement was added. This allows Monit to check the exit status of an external program or script. A new crontab style check for individual services was added. You can now specify when an individual service should be checked or, maybe more importantly, when a service should not be checked by Monit. There were many other changes and improvements.

            RSS Recent comments

            22 Apr 2005 07:19 zettainet

            monit reports cpu usage incorrectly on FreeBSD 4 SMP
            monit is unable to correctly get the CPU usage of processes on a FreeBSD 4 SMP system. On one that has 2 logical CPU's the CPU usage reported by monit is half of the actual usage. On another one that has 4 logical CPU's the usage reported by monit is between 1/4 and 1/3 of the actual number.

            Also it does not work in FreeBSD Jails. The error points to process.c IIRC, an ASSERT error. Just an FYI i should not expect it to work ok in a jail...

            14 Feb 2004 02:28 gvy Thumbs up

            Re: Something simpler?
            s/0/1/

            (PS: init is great as monit's big brother. :)

            27 Oct 2003 16:43 aldem

            init-like process spawning and a bit more
            It would be nice to have a possibility to spawn non-daemons as well - exactly like init does.

            Sometimes this is useful - and there is no need to specifically monitor pid files or something like this.

            Also, this would allow use of monit as a replacement for init (and daemontools as well).

            The dependency on "cycles" is not always good thing, i.e. there is no clean way to define intervals in "if N restarts N..." statement - it would be nice to have something like "if N restart within T minutes/seconds/etc...".

            Optionally, would be nice to have custom actions for serveral levels of failures, i.e. - what to do on 1st failure, what to do on 2nd etc. failure (say, 1st time the service may be silently restarted, 2nd-5th - restarted and warning will be sent, 6th failure - a warning is sent and the service is stopped.

            Want more ideas? :)

            20 Apr 2002 14:47 samjam

            Something simpler?
            This looks good and comprehensive.

            Those who want something simpler might do well to consider "init" (runs as process 0) and use of "inittab".

            It doesn't do much of what this does, but it is often overlooked, esp. its ability to restart programmes when they finish.

            Screenshot

            Project Spotlight

            EC2Dream Fogviz

            A visual tool for building and managing cloud servers.

            Screenshot

            Project Spotlight

            XiX Music Player

            A music player for MP3, Ogg, and FLAC files.