GET A TEXT MESSAGE ON YOUR CELL PHONE WHEN A REGION GOES DOWN.
How to get text messages, emails, pushover, telegram, and jabber alerts if a region goes down on your grid. Well it's easy. Download servermonitor from
https://github.com/phpservermon/phpservermon Next unzip it and upload it to your linux box. I put the files in /var/www/html/servermonitor.
Next get on your web browser and go to websiteaddress.com/servermonitor/install.php Fill in the questions. Set up a web database of your choosing. Create a user and a password. I did this: create database servers; create user 'someone'@'localhost' identified by 'password'; grant all on servers.* to 'someone'@'localhost'; flush priveleges;
Once that is set up, it's a breeze. Use the web interface to add servers to your list. For regions just enter a service and the port number the region is on. example service, custom port, 8007 Then select how you want to be notified if the region goes down. e.g. email or sms text message, etc. Finally using crontab -e enter * * * * * /usr/bin/php /var/www/html/servermonitor/cron/status.cron.php You are done. Now if one of your regions goes offline you will know about it in 60 seconds. Also you can add websites to the list to be monitored, mail servers, any kind of server really. It has a looooong list of server types that can be added. (very handy). Additionally you can click on a region and see it's uptime plotted hourly, daily, weekly, monthly, and yearly as well as LATENCY. We all know how important latency is for showing lag. :) Enjoy!
Note: LINK FIXED
Note: When they go offline the console shows them as red. Also you get a text message, email, etc.