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…')
 
 
(2 intermediate revisions by 2 users not shown)
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>"

Services currently running can be checked a few minutes after boot, by running "monit summary". This few minutes works as grace period, because some services may take some time to start.

Latest revision as of 23:49, 8 August 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>"

Services currently running can be checked a few minutes after boot, by running "monit summary". This few minutes works as grace period, because some services may take some time to start.