XS Community Edition/0.4/Services/Monit

From OLPC
< XS Community Edition‎ | 0.4
Revision as of 00:06, 12 July 2013 by Dfarning (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.

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

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>"