XS Community Edition/0.4/Services/Monit: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with 'Monit is a helpful program that automatically monitors and manages server programs to ensure that they not only stay online consistently, but that the memory or cpu usage are alw…')
 
No edit summary
Line 1: Line 1:
Monit is a helpful program that automatically monitors and manages server programs to ensure that they not only stay online consistently, but that the memory or cpu usage are always between a sane range.
Monit is a helpful program that automatically monitors services to ensure that they remain online. Monit also monitors memory or cpu usage.


Services being monitored are listed at /etc/monit.d , and can been also checked running "monit summary".
Services being monitored are listed at /etc/monit.d . Service can be checked by running "monit summary".


To avoid interlocking, if a service is restarted more than 3 times within 5 cycles , monit will forgot about it.
To avoid interlocking, if a service is restarted more than 3 times within 5 cycles , monit will forgot about it.


On the other side, if you want to stop a service and tell monit not so start it, you need to run "monit stop <servicename>"
To tell monit to stop monitoring a service, run "monit stop <servicename>"

Revision as of 00:10, 12 July 2013

Monit is a helpful program that automatically monitors services to ensure that they remain online. Monit also monitors memory or cpu usage.

Services being monitored are listed at /etc/monit.d . Service can be checked by running "monit summary".

To avoid interlocking, if a service is restarted more than 3 times within 5 cycles , monit will forgot about it.

To tell monit to stop monitoring a service, run "monit stop <servicename>"