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 _______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
