Page 1 of 1
Recurring downtime bug!
Posted: Mon Oct 24, 2016 1:06 pm
by BanditBBS
Ok, server1, server2 and server3 all have a recurring downtime setup on them. Its the three that say "scheduled reboot..."
Capture.PNG
All services is selected, but there is an issue with that! After creating this schedule, I added a new service to those hosts and that one isn't included, because XI, from what I can see, creates a config file based on the services that were on it at that time. I think a code fix is in order here to save in a config file if services were selected also and if so, re-write that config file each time it needs to do the downtime.
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:06 pm
by ssax
Yeah, if it's already scheduled them it won't get added, it will add the new services on the next time it schedules, I've added it as a feature request though since I agree that it should poll at time of:
Code: Select all
NEW TASK ID 9896 created - Nagios XI Feature Request: Recurring Downtime - New services added to host do not get added to already scheduled downtime
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:09 pm
by BanditBBS
ssax wrote:Yeah, if it's already scheduled them it won't get added, it will add the new services on the next time it schedules, I've added it as a feature request though since I agree that it should poll at time of:
Code: Select all
NEW TASK ID 9896 created - Nagios XI Feature Request: Recurring Downtime - New services added to host do not get added to already scheduled downtime
What? really? My new services were added weeks ago and they keep alerting for the outage.
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:16 pm
by ssax
Hmm, what version of XI are you running? I tested on 5.3.1 and it worked properly, let me double-check, brb.
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:22 pm
by ssax
Yep, still working for me with your settings (every Saturday) but I'm just manually changing the date and then forcing the cron job to run.
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:38 pm
by BanditBBS
Disregard, user was, hmm, politically correct term, umm, not explaining very well
But the feature request you opened is still needed
Re: Recurring downtime bug!
Posted: Mon Oct 24, 2016 3:40 pm
by ssax

It happens, good to close this one up?