FYI, I recently added a program to superlance called crashmailbatch
which will batch up alerts during a time interval instead of sending
an email for each one.

On Tue, Dec 7, 2010 at 3:10 PM, David Bronke <whitel...@gmail.com> wrote:
> Cool, thanks! I'm working on a patch for a few minor things in crashmail
> (unused variables, incorrect references to the file being 'httpok', and some
> other doc fixes) and to the README; I'll post it when I've completed it.
>
>
> On Tue, Dec 7, 2010 at 16:08, Jason Koppe <jko...@indeed.com> wrote:
>>
>> Here's what I use.  crashmail notifies notify-on-crash (-m) when any child
>> process exits unexpectedly (-a) and adds the hostname to the subject line
>> (-o).  I set the from address with sendmail so it is consistent across all
>> of my environments and makes it through my mail provider.
>>
>> [eventlistener:crashmail]
>> command=/usr/bin/crashmail -o hostname -a -m notify-on-cr...@domain.com -s
>> '/usr/sbin/sendmail -t -i -f crash-notif...@domain.com' ; the program
>> (relative uses PATH, can take args)
>> events=PROCESS_STATE            ; event notif. types to subscribe to
>> (req'd)
>>
>> environment=SUPERVISOR_USERNAME='admin',SUPERVISOR_PASSWORD='password',SUPERVISOR_SERVER_URL='http://hostname:9001'
>> ; process environment additions
>>
>>
>> On Tue, Dec 7, 2010 at 15:53, David Bronke <whitel...@gmail.com> wrote:
>>>
>>> The documentation for crashmail seems to be nearly nonexistent, and I'm
>>> confused as to how to use it... The only docs I can find are in the script
>>> itself, but the command listed in the example supervisord config section is
>>> for paster, not crashmail. Is this actually the correct command to use? If
>>> so, what should the contents of 'myserve.ini' be?
>>> I'd like to figure out how to use all the superlance plugins so the
>>> current README.txt can be updated... once I've worked through all the issues
>>> I find, I'll submit a patch.
>>> Thanks!
>>> _______________________________________________
>>> Supervisor-users mailing list
>>> Supervisor-users@lists.supervisord.org
>>> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>>>
>>
>>
>>
>> --
>> Jason Koppe
>> jko...@indeed.com
>> (210) 445-8242
>
>
> _______________________________________________
> Supervisor-users mailing list
> Supervisor-users@lists.supervisord.org
> http://lists.supervisord.org/mailman/listinfo/supervisor-users
>
>
_______________________________________________
Supervisor-users mailing list
Supervisor-users@lists.supervisord.org
http://lists.supervisord.org/mailman/listinfo/supervisor-users

Reply via email to