Website uptime monitor

Would you prefer to obtain on the spot electronic mail alerts as quickly as your web site goes down or is inaccessible to customers? Most web site monitoring providers observe the “freemium” mannequin – they’ve free plans for fundamental downtime and uptime monitoring of an internet site however it’s essential to pay for limitless electronic mail or SMS alerts. You may additionally must improve to watch a number of web sites. There’s a superb alternate although.

Make your personal Web site Uptime Monitor with Google Sheets and Gmail

You possibly can create your personal web site monitor that runs on Google servers and sends electronic mail alerts by way of Gmail when your web site goes down or is again up and accessible once more. The web site monitor logs all occasions in a Google Spreadsheet or you’ll be able to even select to document retailer the uptime and downtime exercise inside Google Analytics.

Tips on how to Setup Web site Monitor

Right here’s the way you rapidly configure Google Sheets to watch the uptime /downtime of any public web site. The setup must be executed simply as soon as and the Google Apps Script connected to the Google Spreadsheet will constantly monitor your websites within the background.

Let’s get began:

  1. Click on right here to repeat the web site monitoring Google sheet into your Google Drive.
  2. Go to the Web site Monitor menu (close to Assist) and select Configure. You could have to authorize the script the primary time you configure the monitor.
  3. Specify your web site URL and the e-mail tackle the place you want to be notified. You possibly can put a number of addresses separated by commas.
  4. That is possibility. Enter the Google Analytics Id (e.g., UA-123456-78) and the location monitor will log downtime / uptime occasions in  your Analytics account.

Click on the Begin button and the Google sheet will begin monitoring your web site within the background. Chances are you’ll now shut the sheet.

The uptime and downtime occasions are logged in theGoogle Spreadsheet so you need to use that information to research the efficiency of your hosting firm.

Tips on how to Monitor A number of Web sites?

The web site monitor is open-source (Github) beneath MIT License. You possibly can test our Google Apps Script web page to find extra attention-grabbing initiatives made with Google Scripts.

If you need to watch a couple of web site with app, make a duplicate of the identical Google Sheet and specify one other web site URL within the sheet.

How Web site Monitor works?

Internally, a Google Script connected to the Google Sheet is doing the monitoring and logging occasions in Google Sheets and Google Analytics.

The script triggers each couple of minutes after which tries to fetch your web site utilizing URLFetchApp, a Google service just like wget or curl. If the HTTP response code is something aside from 200, it signifies that there’s a difficulty together with your web site and an electronic mail alert is distributed by way of the Gmail API.

** A earlier model of the script had the flexibility to ship SMS textual content messages when your web site goes down. The performance is now eliminated since Google not help textual content alert notifications inside Google Calendar.