[Supervisor-users] Email notifications when programs can't be started?
Grzegorz Nosek
root at localdomain.pl
Wed Oct 28 06:25:13 EDT 2009
On Wed, Oct 28, 2009 at 10:22:01AM +0000, Phillip Oldham wrote:
> Is there a way to tell Supervisord to send an email (or call a script
> with customised arguments) when a program can't be started (after all
> the retries)? Currently we've no idea if a program fails and can't come
> back up, which is annoying for deployment.
You'll need an event listener:
http://supervisord.org/manual/current/events.html
Maybe superlance will help you here, though I haven't used it. Adapting
"crashmail" from this package should do the trick.
http://pypi.python.org/pypi/superlance/
Best regards,
Grzegorz Nosek
More information about the Supervisor-users
mailing list