Mongrel Cluster Monitor
Uses mongrel_rails cluster::status to determine if any mongrels in your cluster have gone down. Sends alerts and attempts to restart when mongrels go down.
This plugin will monitor a directory of mongrel_cluster configuration files and attempt to run the “status” command using:
mongrel_rails cluster::status -C application.yml
If it finds a down mongrel (a search for the word “missing”), it will send an Alert. On the subsequent run, if the mongrel is still down, it will attempt a “start” using:
mongrel_rails cluster::start -C application.yml
On the next subsequent run, if the mongrel is still down, it will continue to send Alerts, and repeat the process.