Monit Changelog

What's new in Monit 5.7

Feb 25, 2014
  • New: Merged https://bitbucket.org/tildeslash/monit/pull-request/1/ from Philippe Kueck:
  • 1) Handle sockets (unix domain) as regular files when checking timestamp.
  • 2) Use mysql 4.1 protocol in MySQL check, required for checking mysql-proxy.
  • 3) Skip connection checks during startup timeout.
  • New: Arguments added to 'check program'. Arguments are whitespace separated strings. For instance: check program list-files with path "/bin/ls -l -r -t /tmp" if status != 0 then alert
  • New: Implemented restart as an optional service action. When Monit is called to restart a service, it previously called the stop program registered with the service and then the start program. Now, if a restart program is registred with the service, this will be called instead, otherwise Monit fall back to its old behaviour. Example:
  • check process apache with pidfile /var/run/httpd.pid
  • start = "/usr/sbin/apachectl start"
  • stop = "/usr/sbin/apachectl stop"
  • restart = "/usr/sbin/apachectl restart"

New in Monit 5.6 (Nov 28, 2013)

  • IMPROVEMENTS:
  • SMTP AUTH LOGIN support added (MS Exchange SMTP authentication should now work).
  • favicon.ico added to the HTTP interface.
  • BUGFIXES:
  • If an undefined checksum test was used and the file did not exist on Monit start, Monit would return an error.
  • If the configuration file ended with a comment but with no trailing LF character, Monit would return syntax error.
  • If a service timed out after too many restarts and alert was used as the action, then the Timeout flag remained set even if the service recovered.
  • SmartOS zone system memory usage report fix.
  • Escape mail messages properly for sending via SMTP.
  • Escape XML messages properly.
  • Compilation: fix the configure script to support default compiler paths when searching for OpenSSL (fixes library search on multi- architecture platforms like Debian and Ubuntu).

New in Monit 5.5 (Sep 4, 2012)

  • This is a feature and bugfix release.

New in Monit 5.3.2 (Dec 21, 2011)

  • This is a bugfix release.

New in Monit 5.3.1 (Oct 26, 2011)

  • This is a feature and bugfix release.

New in Monit 5.3 (Sep 13, 2011)

  • 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.

New in Monit 5.2.5 (Mar 30, 2011)

  • This is a bugfix release.

New in Monit 5.2.4 (Feb 22, 2011)

  • New features and bugfixes.

New in Monit 5.2 (Sep 24, 2010)

  • This is a bugfix and feature release.

New in Monit 5.0 (Apr 16, 2009)

  • M/Monit support added.
  • Support use of symbolic links in filesystem check.
  • If no 'set mailserver' was defined in monitrc, Monit tried to fallback to localhost:25 SMTP server. This fallback was removed since it may be confusing.
  • The generic send/expect protocol test limited the expect input to 256 bytes.
  • The following event types were added CONTENT, FSFLAGS, PID and PPID and the following generic event types CHANGED and MATCH were removed and replaced by the above types and with the existing SIZE, CHECKSUM, TIMESTAMP events so the information is more specific
  • Monit now generates a unique id on first start and store the id in a permanent file.
  • Monit now keep its service monitoring state even on Monit restart.
  • Added a protocol test for testing the LMTP protocol. Thanks to Fco. Javier Felix for patch.
  • Added the start delay option for daemon statement which allows to pause Monit on its startup for a while.
  • Added PAM support for Monit http interface authentication.
  • Added more detailed reports for Monit resource tests on service recovery. Thanks to Lars Kotthoff for patch.
  • Set locale to C.
  • Added a protocol test for testing the SIP protocol which is used by popular communication servers such as Asterisk and
  • FreeSWITCH. We received two patches for this protocol and have taken code from both and merged them. Many thanks to Bret McDanel and to Pierrick Grasland for supplying the patches.
  • Added MONIT_DESCRIPTION to the list of environment variables available to programs started by monit. Thanks to Morten Bressendorff Schmidt for patch.
  • If a service group is specified for Monit CLI action, Monit no longer requires the "all" verb
  • Added an option to the 'set mailserver' statement so it is possible to override the hostname used in SMTP EHLO/HELO and in the Message-ID header when sending mail.
  • A new EVENT_ACTION type was added which reports actions performed on Monit's administrator request (either via web interface or CLI). If you don't want to received these events, you can set the mail-filter for "action" event type.
  • NOTA BENE: Monit start action is synchronous now. This improves the startup sequence for dependent services, since Monit will wait for parent service to start before trying to start the child.
  • It is now possible to define execution timeout for start and stop commands.
  • The event passed state is renamed to succeeded as this name more reflects the state of things.
  • The device service test is renamed to filesystem.