Resource icon

Pushover Process Monitor

Matt

Owner
Matt submitted a new resource:

Pushover Process Monitor - Monitor and Alert for Processes Running using Pushover

There are currently 2 add-ons that work with Pushover and XenForo, but Pushover itself supports various different languages.

https://pushover.net/


So, I wrote my own little bash script to use their API to monitor the key services on my server, and alert me if they go down.

First, create a list of the processes running
Code:
/usr/local/sbin/nginx...
Read more about this resource...
 

Liam W

Member
I found this really useful :) I'm using it on my main web server (for apache etc.), and on my other server for apache and bitcoind.

Thankfully, I haven't been alerted yet ;)
 

Matt

Owner
I found this really useful :) I'm using it on my main web server (for apache etc.), and on my other server for apache and bitcoind.

Thankfully, I haven't been alerted yet ;)
I've only been alerted when I updated elasticsearch, and it took a while to come back up due to the new setting needed in 1.2
 

Liam W

Member
I've only been alerted when I updated elasticsearch, and it took a while to come back up due to the new setting needed in 1.2
I've never used elasticsearch...

I'm thinking of modifying this to make it an emergency alert, although then I'll need to make a callback script.

Oh well.

Thanks for supplying it :)
 

Liam W

Member
Again, thanks for this... I changed my servers a while back and forgot to add this in :)

I did change it to use the prep command instead though (it was incorrectly stating that nginx was running when it wasn't in my testing, due to php-fpm running on the nginx user):

<can't put the code here, securi is blocking it>

Liam
 
Top