Global Event handler for hosts and services


Looking to setup global event handler for hosts and services. Wonder where to define it ?
Is it EventCommand Object?

Trying to setup the global handler to send the events to another tool…

Please advise.


yes it is the EventCommand Object (Object Types - Icinga 2). After you set your EventCommand, you have to set this in the ServiceObject (Object Types - Icinga 2). Here you have to use the parameters “enable_event_handler” and “event_command”.