How to send data to external webhook on alert

I have an icinga notification and I would like it to also notify an external webhook when an alert is triggered. What mechanism is there to communicate with external services on events?

you can always use event handlers :


you can also write a custom notification script, create a NotificationCommand for it, add a user (dummy obviously) and finally apply a notification where applicable (use use assign where true for any target object).

The most simplest approach would be bash and curl, if you’re more into programming, I’d say python & requests is a good way.


Or you can go the other way round. Let your external tool connect to the API and subscribe to the event stream.

Welcome, to the community, by the way!


1 Like