XS Community Edition/0.4/Services/Monit

From OLPC
< XS Community Edition‎ | 0.4
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.