Set an unset downtime possible?

Hi @all,
I have a strange Problem.
When I run my script to Update a Database I set a downtime for the DB Host by an API Call.
The problem is, I dont know when the Script is finished. So I cant set in my Script a end of the Downtime.
It is possible to set a Downtime with no end time?
Or if not, it is possible to remove a Downtime?
I could set a Downtime for example 1 day and when my script is finished I can remove the downtime.

Another solution is disable/enable the Notification but that`s not really good.

Would be great if somebody have an answer because I don`t found something about remove Downtime .-)

Joern

It’s all there: https://icinga.com/docs/icinga2/latest/doc/12-icinga2-api/#remove-downtime

1 Like