Over the past few weeks we have discussed how Alertra has implemented webhooks to enhance our website monitoring services. We’ve discussed how these webhooks can help you enforce your site’s uptime and how we are using these powerful tools to monitor the stats of 50 popular websites. If you’re still not sure about webhooks, how they work, or what they can do for your site, here are some basics to help you get started.
To put it in the simplest of terms, when it comes to web development a webhook is a way to use custom callbacks to augment or alter the behavior of a webpage or application. These user-defined HTTP callbacks are most often triggered by an event. Alertra’s webhooks are triggered by any device events, such as OnDown, OnUp, and OnWarning events. When a triggering event occurs, Alertra makes an HTTP request (or multiple requests) to the URL (or URLs) that has been configured for the specific webhook. Let’s say, for example, an OnDown event triggers a callback. Alertra can call an external URL to change the DNS entry for the website that has gone down so that the site points to the IP address of a backup web server, ensuring that the site remains accessible to visitors. While this may seem complicated in theory, the truth is that the process is entirely automated, ensuring seamless uptime for your site even if your site’s primary host goes down.
Webhooks can be set up in a number of ways and can perform a variety of functions. Some of the powerful features that Alertra’s webhooks offer include:
If you would like to integrate Alertra’s powerful webhooks into your Alertra account, all you need to do is contact our support department. While a public interface has not yet been released for our webhooks, our support team can work with you to implement the webhooks that would best serve your needs. If you have any questions about how our webhooks can enhance your monitoring service , our support department can also answer any questions you might have regarding these new and powerful features.