Is your feature request related to a problem? Please describe.
Today we use the monitoring-module's api to schedule and remove downtimes for hosts and their services on demand in automated ways. The old monitoring module handles the removal in the following way:
Is your feature request related to a problem? Please describe.
Today we use the monitoring-module's api to schedule and remove downtimes for hosts and their services on demand in automated ways. The old monitoring module handles the removal in the following way:
../icingaweb2/monitoring/downtimes/delete-all?host_name=<hostname>
If I want to do this with icingadb, it's api call references multiple downtimes, combined with their individual guids:
Describe the solution you'd like
Is it possible to remove all downtimes for a host an it's services with icingadb's api without the need to adress these guids? Something like:
../icingaweb2/icingadb/downtimes/delete-all?name=<hostname>
Additional context
This issues forces us to keep the old monitoring module activated in the background.