Modify scheduled downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Modify scheduled downtime

Post by snapon_admin »

Is it possible to modify an existing scheduled downtime? I know you can modify recurring downtime, but for a one time schedule is there any way to modify that? If not, is this something that is even possible to add?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Modify scheduled downtime

Post by abrist »

Scheduled downtime cannot really be modified as it is added to retention.dat. You would have to remove it and then re-add it. I don't think this feature would receive much traction as it would require completely rewriting how downtime is handled in the code.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: Modify scheduled downtime

Post by snapon_admin »

Damn, was afraid of that lol. It looks like that would be the case when you see how different scheduled downtime is compared to recurring downtime. I was hoping it'd be possible to have something similar to recurring downtime setup for one time downtime schedules, but kind of figured it'd be more complicated than that. Thanks for the quick reply Andy, I'll just try to not derp on the times next time I schedule downtime. :P
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Modify scheduled downtime

Post by abrist »

I think it is important to note that recurring downtime is just a cron job that adds *regular* downtime when within the time window (processed on the top of the hour). So once that instance of recurring downtime has been added, altering the recurring schedule will not effect that specific instance, but the next one.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked