Configure Event Handlers per Service using API
Posted: Tue Jun 13, 2023 4:39 am
Hello,
We are on Nagios XI 5.9.1.
I have a few services which I would like to configure Event Handler for.
Ideally I would do this in bulk. The Bulk Modifications tools allows enabling an Event Handler per Service, but there does not appear to be a way to specify the command which should run.
I have tried POSTing to the API, specifying parameters:
Am I doing something wrong or will the POST endpoint simply not update those fields?
Thanks
We are on Nagios XI 5.9.1.
I have a few services which I would like to configure Event Handler for.
Ideally I would do this in bulk. The Bulk Modifications tools allows enabling an Event Handler per Service, but there does not appear to be a way to specify the command which should run.
I have tried POSTing to the API, specifying parameters:
- event_handler
event_handler_enabled
Am I doing something wrong or will the POST endpoint simply not update those fields?
Thanks