superlance plugins for supervisor

Superlance is a package of plugin utilities for monitoring and controlling processes that run under Supervisor. It provides these plugins:

httpok
This plugin is meant to be used as a supervisor event listener, subscribed to TICK_* events. It tests that a given child process which must in the RUNNING state, is viable via an HTTP GET request to a configured URL. If the request fails or times out, httpok will restart the “hung” child process.
crashmail
This plugin is meant to be used as a supervisor event listener, subscribed to PROCESS_STATE_EXITED events. It email a user when a process enters the EXITED state unexpectedly.
memmon
This plugin is meant to be used as a supervisor event listener, subscribed to TICK_* events. It monitors memory usage for configured child processes, and restarts them when they exceed a configured maximum size.
crashmailbatch
Similar to crashmail, crashmailbatch sends email alerts when processes die unexpectedly. The difference is that all alerts generated within the configured time interval are batched together to avoid sending too many emails.
fatalmailbatch
This plugin sends email alerts when processes fail to start too many times such that supervisord gives up retrying. All of the fatal start events generated within the configured time interval are batched together to avoid sending too many emails.
crashsms
Similar to crashmailbatch except it sends SMS alerts through an email gateway. Messages are formatted to fit in SMS.

Contents:

Indices and tables