Not everyone leaving the NIS connected on a machine have time to check it periodically to see if it are online… so a good way to be warned quickly would notifications via email and SMS.
There are several services that offer this type of notification, but not found that do this free, cost above $5/m (the price of VPS)
And since we are not a company, a workaround would be enough to meet this need.
To make this service, just a script that will run on gmail/googledocs.
First you need an account on google email with verified phone.
Let the steps:
Create an account on [url=https://gmail.com]gmail.com and check the phone number;
Click this [url=https://docs.google.com/spreadsheet/ccc?key=0Aofk8L6brI_edEhFR1FSYmh6cHRSa3cwSUY0ZnBUYUE&newcopy=true]spreadsheet and import to your account;
Make sure that the public URL of your NIS is visible, otherwise attempt to open the port [url=https://forum.ournem.com/tutorials/how-to-configure-your-noderouterfirewall-to-support-the-nem-network/]following a guide;
In the script, fill in the form with the URLs of your NIS ([url=http://PublicIPorDNSofNIS.machine:7890/]http://PublicIPorDNSofNIS.machine:7890/, for more use comma to separate), your gmail to receive notifications and Yes to SMS;
Click Website Monitor in the menu bar and in Initialize, then give the necessary permissions and wait for the success message;
Make sure the SMS notifications are enabled on the [url=https://www.google.com/calendar/]google.com/calendar.
After that will be ready the monitor, it will scan the URL(s) of your NIS every 5 minutes and send a email/SMS if it is unavaliable/available.
SOURCES OF THIS GUIDE:
[url=http://www.labnol.org/internet/website-uptime-monitor/21060/]http://www.labnol.org/internet/website-uptime-monitor/21060/
Note: the sms work, but apparently there is a daily limit…
[hr]
Post questions and answers below!
Welcome!
Thanks for sharing this, ICharles123 :)
But unfortunately the Google SMS is limited.
And there is no tolerance for downs in connection if you use an unstable service, will receive a lot of messages saying that crashed and returned ......
But it should be easy to solve, but do not know how to edit this script to include a tolerance level.
If someone wants to do it feel free. :)
Thanks for sharing this, ICharles123
that is really cool