Hi,
We are using XI 2014R2.7.
I can't seem to get it right with configuring recurring downtime. Can you please help me with this scenario.
In Recurring downtime I need to configure a service downtime starting Friday night at 23:45 and ending at 00:15 Monday morning.
In Nagios i have configured the following:
Start Time: 23:45
Duration: 2910 (minutes)
Valid Weeks: Fri (only)
Valid Days of Month: blank
Is this correct?
Recurring Downtime Question
Re: Recurring Downtime Question
That's how I'd do it. doesn't mean it is correct, but that is definitely how I would have tried.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Recurring Downtime Question
What is the exact issue that you are having? Is the recurring downtime scheduled for the 1st Friday only or is it not scheduled at all? Can you post the "/usr/local/nagios/etc/recurringdowntime.cfg" and the "/usr/local/nagiosxi/var/recurringdowntime.log"?I can't seem to get it right with configuring recurring downtime.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Recurring Downtime Question
Attached are the 2 files you asked, and the 3 file is a brief writeup.
You do not have the required permissions to view the files attached to this post.
Re: Recurring Downtime Question
This is a bug in core as far as I can tell. I just added the downtime with my downtime component that uses the external commands and it did the same thing.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Recurring Downtime Question
You are correct - it is a bug. I and Tom were able to recreate the issue in house.
I don't think it is a Core bug but I will let developers figure it out.
I filed an internal bug report (TASK ID 6770).
I don't think it is a Core bug but I will let developers figure it out.
I filed an internal bug report (TASK ID 6770).
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Recurring Downtime Question
Ludmil,lmiltchev wrote:You are correct - it is a bug. I and Tom were able to recreate the issue in house.
I don't think it is a Core bug but I will let developers figure it out.
I filed an internal bug report (TASK ID 6770).
The reason I say it is a Core bug is if I use external commands it happens as well, and those are core functions. Unless I'm totally off base here(not out of the question)
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Recurring Downtime Question
Glad you guys can reproduce it. I thought i was going crazy.
What is the actual bug?
thx
What is the actual bug?
thx
Re: Recurring Downtime Question
The bug is that the end time is cut 60 minutes short. In your example, it will not stop the schedule on Monday at 12:15am but it will be Sunday at 11:15pm.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Recurring Downtime Question
I thought that was it. So, i just added 60 more mins to offset the bug. But it still DOES NOT adjust out the 60 mins.
Here is the comment in the service after deleting the old one, and the new adjusted schedule below....
--
By nagiosadmin at 2015-10-29 09:25:27
This service has been scheduled for fixed downtime from 10-30-2015 23:45:00 to 11-01-2015 23:15:00. Notifications for the service will not be sent out during that time period.
--
define schedule {
sid de677c29d3a7c96c477588013404ebbb
user nagiosadmin
comment
time 23:45
duration 2970
days_of_week fri
days_of_month
schedule_type service
service_description BondPAS - Online Feed Loader
host_name bed-500-10
}
Here is the comment in the service after deleting the old one, and the new adjusted schedule below....
--
By nagiosadmin at 2015-10-29 09:25:27
This service has been scheduled for fixed downtime from 10-30-2015 23:45:00 to 11-01-2015 23:15:00. Notifications for the service will not be sent out during that time period.
--
define schedule {
sid de677c29d3a7c96c477588013404ebbb
user nagiosadmin
comment
time 23:45
duration 2970
days_of_week fri
days_of_month
schedule_type service
service_description BondPAS - Online Feed Loader
host_name bed-500-10
}