Sending Uptimerobot notifications to pushover


I wanted to use Pushover with Uptimerobot, as it’s a much nicer way to be notified about site issues then email. Unfortunately, Uptimerobot only supports GET requests and pushover needs POST requests.So to fix that I wrote a small PHP script that I loaded on my OPS machine that converts the GET to a POST request and does a bit of nice formatting while doing so. I put the code up on bitbucket.

Feel free to use as you please, I expect it to be short lived since UptimeRobot already has POST in the plans, and once that’s finished the script will not be needed anymore.

I considered making my “gateway” public here, but I should really protect people against posting API and USER tokens to my script, since a GET statement will be logged in full and as a result isn’t very secure.