Send Icinga2 Notifications to a Rest API

Hello,

it is possible to send Icinga2 notification to a Rest Api interface? Specifically i want to send the notifications to Operations Bridge Manager from MicroFocus.
Maybe someone has a information where i can find a script or how to implement it.
Thank you

Hi & welcome,

Yes, you simply need a script that is able to send notifications to that API and define it as NotificationCommand.

1 Like
  1. write a script that created the webrequest to an external service
  2. you could create a Notification command eg. in icinga director that creates a curl/wget request using the curl/wget binary on your system

I think, it can also be done directly in the icinga DSL.
Maybe you could use the Teams integration via Webhook as inspiration.