Deleting Recurring Downtime Doesn't Work
Deleting Recurring Downtime Doesn't Work
I've recently deleted a recurring downtime entry, only to find that the downtime keeps popping up in the scheduled down time every day still.
I have verified that the recurring down time that I originally had entered under all 3 tabs (Hosts/Services, Hostgroups, Servicegroups) are no longer there.
I have verified that the recurring down time that I originally had entered under all 3 tabs (Hosts/Services, Hostgroups, Servicegroups) are no longer there.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Deleting Recurring Downtime Doesn't Work
I'm sure you did, but have you verified configs apply and such correctly? How about running:
grep -R "Name-of-Downtime" /usr/local/nagios/etc/*
Does that return anything still in your configuration files?
grep -R "Name-of-Downtime" /usr/local/nagios/etc/*
Does that return anything still in your configuration files?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Deleting Recurring Downtime Doesn't Work
Yes, everything appears to apply correctly:sreinhardt wrote:I'm sure you did, but have you verified configs apply and such correctly? How about running:
grep -R "Name-of-Downtime" /usr/local/nagios/etc/*
Does that return anything still in your configuration files?
Code: Select all
# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
(snipped for bravarity)
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 4297 services.
Checking hosts...
Checked 1704 hosts.
Checking host groups...
Checked 192 host groups.
Checking service groups...
Checked 4 service groups.
Checking contacts...
Checked 31 contacts.
Checking contact groups...
Checked 4 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 127 commands.
Checking time periods...
Checked 37 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
When I did this, it simply listed off the name of the host as it appears in every single host and service config file?
I will note the recurringdowntime.cfg file is empty:
Code: Select all
-rwxrwxr-x 1 apache nagios 0 Apr 15 13:53 recurringdowntime.cfg-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Deleting Recurring Downtime Doesn't Work
When did you delete the recurring downtime? on the 15th?
Had the downtime items that "popped up" already been scheduled before you deleted the recurring downtime?
Had the downtime items that "popped up" already been scheduled before you deleted the recurring downtime?
Re: Deleting Recurring Downtime Doesn't Work
When I came in this morning, the downtime was no longer there. It seemed to show up on Thursday & Friday, which was the day of the week I had scheduled it for.
I will be out of the office this Thursday & Friday and will not be able to monitor it.
At this point, I'm going to assume this was a glitch or a possible bug with the way the dates were processed (?). If I see it again in 2 weeks, I will advise. Until then, I guess this is resolved.
I will be out of the office this Thursday & Friday and will not be able to monitor it.
At this point, I'm going to assume this was a glitch or a possible bug with the way the dates were processed (?). If I see it again in 2 weeks, I will advise. Until then, I guess this is resolved.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Deleting Recurring Downtime Doesn't Work
Great let us know how it goes!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Deleting Recurring Downtime Doesn't Work
Hello All,
Any update on this issue?
We are getting similar issue.
We have scheduled on Monday Recurring Downtime for Servicegroup for Sunday, it is in Scheduled Downtime->Scheduled Service Downtime - this is fine.
Prior scheduled downtime, for example Friday, we re-scheduled it for next week at Monday, so, we do editing and changing to Monday.
But when we go back to Scheduled Downtime->Scheduled Service Downtime, we see that Scheduled downtime if still for Sunday, not for Monday.
Can any one provide help?
Thanks
Any update on this issue?
We are getting similar issue.
We have scheduled on Monday Recurring Downtime for Servicegroup for Sunday, it is in Scheduled Downtime->Scheduled Service Downtime - this is fine.
Prior scheduled downtime, for example Friday, we re-scheduled it for next week at Monday, so, we do editing and changing to Monday.
But when we go back to Scheduled Downtime->Scheduled Service Downtime, we see that Scheduled downtime if still for Sunday, not for Monday.
Can any one provide help?
Thanks
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Deleting Recurring Downtime Doesn't Work
questrad,
I am attempting to reproduce this, though am not able to. This is what I am doing:
Home > Recurring Downtime > Scheduling a Servicegroup to be down on Sun for a given time, then saving it.
Exiting that page, then re entering via Home > Recurring Downtime > Servicegroups > The servicegroup is still scheduled for the correct time.
This holds true after I change the day to monday and then re-save the downtime, exit, and re enter again.
What version of nagios Xi are you running on?
I am attempting to reproduce this, though am not able to. This is what I am doing:
Home > Recurring Downtime > Scheduling a Servicegroup to be down on Sun for a given time, then saving it.
Exiting that page, then re entering via Home > Recurring Downtime > Servicegroups > The servicegroup is still scheduled for the correct time.
This holds true after I change the day to monday and then re-save the downtime, exit, and re enter again.
What version of nagios Xi are you running on?
Re: Deleting Recurring Downtime Doesn't Work
I am using Nagios XI 2012R1.8.
When you change to monday, can you check, the scheduled downtime is has changed to monday in Home -> Incident Management -> Scheduled Downtime.
And one thing also that I have found yesterday, that in some how same scheduled downtime via Recurring Downtime > Scheduling a Servicegroup has increased in Home -> Incident Management -> Scheduled Downtime with different "Entry Time" but for same "Start Time End Time Type Duration".
Sorry, but I cannot show any screenshot, because it was Production server and I have cleaned up everything.
When you change to monday, can you check, the scheduled downtime is has changed to monday in Home -> Incident Management -> Scheduled Downtime.
And one thing also that I have found yesterday, that in some how same scheduled downtime via Recurring Downtime > Scheduling a Servicegroup has increased in Home -> Incident Management -> Scheduled Downtime with different "Entry Time" but for same "Start Time End Time Type Duration".
Sorry, but I cannot show any screenshot, because it was Production server and I have cleaned up everything.
Re: Deleting Recurring Downtime Doesn't Work
It will not change right away. It runs on a cron job and it updates one minute after each hour. You can verify this by running:When you change to monday, can you check, the scheduled downtime is has changed to monday in Home -> Incident Management -> Scheduled Downtime.
Code: Select all
cat /etc/cron.d/nagiosxi | grep recurringdowntime.pCode: Select all
/usr/local/nagiosxi/cron/recurringdowntime.plBe sure to check out our Knowledgebase for helpful articles and solutions!