This web page is no longer maintained. Information presented here exists only to avoid breaking historical links.The Project stays maintained, and lives on: see the Linux-HA Reference Documentation.To get rid of this notice, you may want to browse the old wiki instead.

mon

mon is a general-purpose scheduler and alert management tool used for monitoring service availability and triggering alerts upon failure detection. mon was designed to be open and extensible in the sense that it supports arbitrary monitoring facilities and alert methods via a common interface, all of which are easily implemented with programs in C, Perl, shell, etc., SNMP traps, and special mon traps.

Programming Mon alerts with Heartbeat

To determine whether a node should be running a given resource at the current time, use cl_status to find out what kinds of services the current node is running.

If you find a condition which should cause a failover to the other node, use hb_standby to cause the resources to fail over to the other node.