Supervisor/superlance — pull request #48 by krzaczek (2014-09-04 07:25:03+00:00)
Title: Crashpushover

HI,

I've implemented another method to send alerts about process state change. I'm using https://pushover.net/ to send push notifications to my iphone. This is a tool that allows to send push notifications as long as You fit into 7500/month limit per application. I've been using the script for a couple of month's not and it works perfect. As I normally don't code i python the code may need some "cleaning" :)

The command is:
command=crashpushover -a -t [app_id] -m [user_id]

[app_id] - this is You app id - You can get it by adding a new app at pushover.net
[user_id] - this is the user You want to send the notifications to.

This script requires http://pythonhosted.org/python-pushover/ I should probably add it as a requirement but I don't know how to do it. As I said .. I normally don't use python.

Pawel