What is a WebHook?
A WebHook is a HTTP request to a web service. WebHooks are used in situations where we want to communicate with a web service after an event occurs.
The concept is quite simple, when an event occurs a WebHook is sent to an HTTP endpoint.
The WebHook event data is stored as a JSON or XML object depending on the HTTP endpoint.
How does Longitude implement WebHooks?
Longitude can be readily configured to send Longitude Event Detail to web services.
Remember, Longitude is constantly collecting and analyzing availability and performance metrics. When Longitude detects problems it generates events and alerts that contain all kinds of relevant detail about the nature and severity of the issues. The implementation of WebHooks extends Longitude's reach by allowing it to communicate critical information to virtually any web service.
|Longitude configured to send event to Slack on VMware resource depletion|
The Longitude WebHook action allows users to receive real-time notifications of IT Infrastructure and Application Health problems. Users can also enrich event detail to include any additional information that they feel pertinent to the problem (i.e. instructions to mitigate an issue).
|Longitude Event displayed in Slack on a mobile device|
How do I configure WebHooks in Longitude?
The WebHook action is one of many pre-configured action capabilities built into Longitude.
The key to making your WebHook action function is to properly create the HTTP endpoint URL. Here is an example of setting up an endpoint URL for Slack.