Website:Monitoring services

From WormBaseWiki
Revision as of 15:01, 3 October 2007 by Tharris (talk | contribs) (New page: = Overview = Load-balancing and automatic failover mechanisms are essential components of a high-availability system. Equally important is efficient detection of failing services and ser...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

Load-balancing and automatic failover mechanisms are essential components of a high-availability system. Equally important is efficient detection of failing services and servers that may not fall under the auspices of the failover protocol. This may include monitoring the size of log files, the amount of disk space available, memory race conditions, and the availaibility of secondary services.

We use monit at WormBase to handle these tasks and more.

Installing monit

Monit is simple to install.

cd ~/build
tar xzf ../src/monit*.tar.gz
cd monit*
./configure
make
sudo make install

Configuring monit

monit uses a fun free-text configuration file-format. Multiple instances of monit can be launched, each pointing to its own configuration file.