hey

Thursday, June 23, 2016

How to Monitor your Website’s Uptime with Google Docs

How to Monitor your Website’s Uptime with Google Docs

Do you have got a internet site or a blog? might you want to get hold of immediately alerts as quickly as your website online goes down or becomes inaccessible to users? would you want to receive those downtime signals as email, textual content messages for your cellular phone, or each?most website owners use “freemium” internet site monitoring services to music the downtime and uptime of their sites.  these offerings have loose plans but your are regularly required to upgrade to the premium model for unlimited electronic mail or SMS signals or in case you would like to display a large quantity of web sites. There’s a loose opportunity though.

construct your very own website Uptime display

you can use Google Spreadsheets to display the repute your internet site(s) and, unlike the industrial offerings, Google imposes no regulations. you can song any wide variety of websites and it'll send e mail /textual content indicators in case of any issues. The internet site screen is written with Google Scripts and is in reality loose as properly.

here’s how you fast configure Google doctors to screen the uptime /downtime of your website(s). This has to finished just once and the spreadsheet will constantly screen all of your web sites within the historical past. allow’s get began:

    sign-in to your Google account and then click on right here to copy this Google sheet into your Google pressure. you could use Gmail or your Google Apps account to signal-in.
    placed your website URLs in cell B2 (comma separated) and your e mail address in mobile B3. if you want to acquire indicators by way of text messages, positioned sure in cell B4.
    You’ll discover a new internet site reveal menu for your Google Sheets toolbar. click Initialize and you’ll get a pop-up inquiring for authorization. supply the necessary get entry to.
    go to the internet site display menu again and choose “begin internet site display” to begin the monitoring system. near the Google Sheet.

That’s it. The Google sheet will monitor your internet site in the background at five-minute intervals and will send alerts on every occasion it has hassle having access to the website. If the difficulty is resolved, you’ll get any other notification announcing “all’s properly.”

The uptime and downtime instances get logged in the equal Google Spreadsheet so you can use that statistics to investigate the overall performance of your web website hosting organization.

additionally see: Get SMS signals for Import Gmail Messages
How internet site monitor works with Google doctors

Internally, there’s a easy Google Script connected to the Google Sheet that does the tracking.

The script triggers every 5 minutes after which attempts to fetch your website the usage of URLFetchApp.fetch, a Google carrier similar to wget or curl. If the HTTP response code is something apart from 200, it shows that there’s an trouble along with your internet site and an electronic mail alert is sent.
Sending SMS indicators thru Google docs

Google Apps Script can send electronic mail messages but the script employs a workaround for sending textual content messages.
It creates an event for your Google Calendar but with an SMS reminder  – the event is about to run out in 30 seconds and therefore you get an immediately textual content alert in your cell. in case you aren’t getting textual content alerts to your smartphone, please make certain that your smartphone quantity is related to Google Calendar as designated in this educational.

update: if you are becoming the “Writing to ScriptDb is disabled” error emails, it's miles due to the fact you're the use of the older version of the internet site reveal HD software. Google Apps Script now not supports the ScriptDB provider and it will ship a each day electronic mail digest with the title “summary of failures for Google Apps Script.” What you need to do is stop the script and make a clean copy of the Google reveal sheet that is related above.

No comments:

Post a Comment