Never miss a downtime with UptimeRobot

Michael Wittig – 02 Nov 2017

UptimeRobot checks if your website is up every 5 minutes for free.

With marbot, you get alerts in Slack for each downtime. To do so, UptimeRobot sends a web request to marbot in case of new downtime.

Set up instructions

  1. Create a free UptimeRobot account.
  2. Log in to your UptimeRobot account.
  3. First, you have to create an Alert Contact. Click on My Settings at the top.
  4. In the Alert Contacts box, click on the Add Alert Contact button.
    Step 1
  5. Set Alert Contact Type to Web-Hook.
  6. Set Friendly Name to marbot.
  7. Set URL to Notify to https://api.marbot.io/v1/endpoint/$endpoint-ID?. Replace $endpoint-ID with the ID of your endpoint. You can get this value by asking @marbot for it on your Slack channel.
  8. Set POST Value (JSON Format) to:

    {
    "monitorURL": "*monitorURL*",
    "monitorFriendlyName": "*monitorFriendlyName*",
    "alertType": "*alertType*",
    "alertTypeFriendlyName": "*alertTypeFriendlyName*",
    "alertDetails": "*alertDetails*"
    }
  9. Make sure that Send as JSON (application/json). is enabled.
    Step 2

  10. Click on Create Alert Contact to save.
  11. Now, you can create a Monitor. Click on the Add New Monitor button.
    Step 3
  12. Set Monitor Type to HTTP(s).
  13. Set Friendly Name to the name of your website.
  14. Set URL (or IP) to the URL of your website.
  15. Select marbot under Alert Contacts To Notify.
    Step 4
  16. Click on the Create Monitor button to save.

Your website should be up. But as soon as UptimeRobot detects a downtime, you receive an alert from marbot.

Sample Alert

To simulate an alert, change the URL of your monitor to something non-existent to test the integration.
Step 5

The following alert will be triggered by marbot soon.

UptimeRobot Alert

Michael Wittig

Michael Wittig

Consultant focusing on Amazon Web Services (AWS). Entrepreneur building marbot.io. Author of Amazon Web Services in Action, Rapid Docker on AWS, and cloudonaut.io.

You can contact me via Email, Twitter, and LinkedIn.

Published on

marbot teaser

Chatbot for AWS Monitoring

Configure monitoring for Amazon Web Services: CloudWatch, EC2, RDS, EB, Lambda, and more. Receive and manage alerts via Slack. Solve incidents as a team.

Slack
Add to Slack
Microsoft Teams
Add to Teams