Prior to EventhistoryQuery returns never started downtimes events · Issue #5020 · Icinga/icingaweb2 · GitHub and icinga2web 2.12.0 the fixed downtimes which were canceled after they started were shown in the history.
The icinga2api doesn’t allow to update downtimes - but it would be really helpful to keep them in the history and to be able to remove them, if they don’t take as much time as expected to be notified about problems.
One solution i found was to create a new downtime with the current time as the end time… But the icinga2web-history shows the actual_start_time as the start time (So the time the new downtime is created) - which is also kind of confusing.
Do you have any advice how we can end the downtimes “the right way”, if we can´t be certain of the exact endtime in advance?
But my issue is not with not being able to remove the downtimes via the api - its about using this, the was_cancelled flag gets set in the Database, Which leads to the UI/Icingaweb2 filtering it out of the history:
This used to be the behavior - but it was changed with the latest release.
So maybe there is a better way to end the downtimes, if they dont take as long as expected