So you want to link UptimeRobot and StatusHub, well this short article can show you how to do just that.
To connect UptimeRobot to your StatusHub page open up your StatusHub account and click the option "Edit status site."
This will bring you to the edit status site page, shown below. Once here you will need to select the "Services & Integrations" option on the side menu.
To link an existing service, you can click on the "Edit service" (pencil icon) or use the "New service" button to add a new service that will be linked to UptimeRobot.
If you have opted to create a new service be sure to give it an appropriate name that you and your customers will recognise and assign it to the relevant group. Otherwise, you should select the UptimeRobot option hit "Update Service" and we will generate a webhook for you to use over at UptimeRobot.
Once you have done this a webhook URL, will be displayed underneath the service you have created or updated. With the webhook URL, we will need later underneath.
Please note that your link may be slightly different and you should always refer to "Services & Integrations" section when adding new integration in one of supported 3'rd party services
Look at that we are halfway there. Next, you are going to pop over to UptimeRobot and complete the connection
- In Uptime Robot, go to My Settings page and click "Add Alert Contact."
- Select "Web-Hook" as Alert Contact Type
- Paste the Url you copied before into "URL to Notify.",
- IMPORTANT: Please make sure that URL has trailing '&' (ampersand) character. Otherwise, integration will not work due to way how UptimeRobot is creating final urls,
- Click "Create Alert Contact."
With the webhook contact saved go ahead and add your new contact to any monitor that you want to communicate with StatusHub.
To test the webhook, take your server down until you have gotten an alert. If everything works, your StatusHub page will update.