Recurring Downtime Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Recurring Downtime Question

Post by brdr »

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?
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Recurring Downtime Question

Post by BanditBBS »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Recurring Downtime Question

Post by lmiltchev »

I can't seem to get it right with configuring recurring downtime.
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"?
Be sure to check out our Knowledgebase for helpful articles and solutions!
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Recurring Downtime Question

Post by brdr »

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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Recurring Downtime Question

Post by BanditBBS »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Recurring Downtime Question

Post by lmiltchev »

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).
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Recurring Downtime Question

Post by BanditBBS »

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).
Ludmil,

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
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Recurring Downtime Question

Post by brdr »

Glad you guys can reproduce it. I thought i was going crazy.

What is the actual bug?

thx
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Recurring Downtime Question

Post by tgriep »

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!
brdr
Posts: 312
Joined: Mon Jun 02, 2014 12:49 pm

Re: Recurring Downtime Question

Post by brdr »

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
}
Locked