Webhook
The Webhook integration opens up a world of possibilities for custom integrations. This feature allows Alertmanager to issue an HTTP POST request with the JSON payload of the notification to an endpoint of your choosing. Keep in mind that the URL is not templateable and the destination endpoint must be designed to handle the JSON payload. It can be used, for example, to push all notifications into a logging system such as Elasticsearch so that you can perform reporting and statistical analysis of the alert being generated. If your team uses IRC, this could also be a solution to integrate with it. One last example is the alertdump tool we've created for this book. It was previously used in Chapter 9, Defining Alerting and Recording ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access