how to schedule recurring downtime - first tues of the month
how to schedule recurring downtime - first tues of the month
We do monthly patching of our Windows production servers on the First Tues of the month, starting at 21:00 and ending Wed at 04:00 (420 minutes)
I want to set up a recurring downtime for the Hostgroup contain these servers but it doesn’t look like the Recurring Downtime Scheduler allows for that.
thanks,
Penny Karr
[email protected]
Atrius Health | http://www.AtriusHealth.org
I want to set up a recurring downtime for the Hostgroup contain these servers but it doesn’t look like the Recurring Downtime Scheduler allows for that.
thanks,
Penny Karr
[email protected]
Atrius Health | http://www.AtriusHealth.org
You do not have the required permissions to view the files attached to this post.
Re: how to schedule recurring downtime - first tues of the m
What you would do is fill in all of the days in the month for the calendar year the the first Tuesday of the month would fall of and that will filter the days it will run.
Put this in that field.
Put this in that field.
Code: Select all
1,2,3,4,5,6,7Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to schedule recurring downtime - first tues of the m
Last week I set up the recurring downtime for this.
Well it didn't work the way we wanted it to
It ran First Tuesday of the month from 21:00 to midnight then stopped
(was supposed to run until 04:00 the following day, Wednesday)
And tonight its scheduled itself to run tonight from 21:00-04:00 tomorrow am.
Additionally recurring downtime was only scheduled for the Hosts in this Hostgroup.
This worked,the host notification were supressed. However none of the service check email notifications worked either.
What am I doing wrong?
I've included a screenshot of the recurring downtime I set and a current version of the system profile.
thanks,
Penny
Well it didn't work the way we wanted it to
It ran First Tuesday of the month from 21:00 to midnight then stopped
(was supposed to run until 04:00 the following day, Wednesday)
And tonight its scheduled itself to run tonight from 21:00-04:00 tomorrow am.
Additionally recurring downtime was only scheduled for the Hosts in this Hostgroup.
This worked,the host notification were supressed. However none of the service check email notifications worked either.
What am I doing wrong?
I've included a screenshot of the recurring downtime I set and a current version of the system profile.
thanks,
Penny
You do not have the required permissions to view the files attached to this post.
Re: how to schedule recurring downtime - first tues of the m
To include the Services for the Hosts, you need to check the Services box when you setup the downtime schedule so it will do the Hosts as well as the Services.
That is why the Notifications for the services were sent. The Service box was not checked.
Can you get the Recurring Downtime log in this location on the Nagios server and post it here so we can see what it scheduled?
That is why the Notifications for the services were sent. The Service box was not checked.
Can you get the Recurring Downtime log in this location on the Nagios server and post it here so we can see what it scheduled?
Code: Select all
/usr/local/nagiosxi/var/recurringdowntime.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to schedule recurring downtime - first tues of the m
Yes, Here it is.
thanks,
Penny
thanks,
Penny
You do not have the required permissions to view the files attached to this post.
Re: how to schedule recurring downtime - first tues of the m
Delete the current setting for that Downtime.
Recreate it and put in the following as the Valid Days as I do not see the schedule taking in to account the days of the month.
Recreate it and put in the following as the Valid Days as I do not see the schedule taking in to account the days of the month.
Code: Select all
1,2,3,4,5,6Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to schedule recurring downtime - first tues of the m
Its almost time again for our monthly Windows Production patching here at Atrius Health.
Its the first Tues of the month, starting at 21:00 and ending Wed at 04:00. Hostgroup is Infrastructure - Patching - All Monthly Windows PROD Servers, we just want the hosts to go into recurring downtime, not the service
checks.
I think I have it right but would like you to verify.
I've included a current system profile, recurringdowntime.log and a screenshot of what I set up.
thanks,
Penny
Its the first Tues of the month, starting at 21:00 and ending Wed at 04:00. Hostgroup is Infrastructure - Patching - All Monthly Windows PROD Servers, we just want the hosts to go into recurring downtime, not the service
checks.
I think I have it right but would like you to verify.
I've included a current system profile, recurringdowntime.log and a screenshot of what I set up.
thanks,
Penny
You do not have the required permissions to view the files attached to this post.
Re: how to schedule recurring downtime - first tues of the m
The recurringdowntime log shows that the hosts are scheduled and the time looks right.
Verify them by going to the Home > Scheduled Downtime menu, search for a host in that group and check it.
Verify them by going to the Home > Scheduled Downtime menu, search for a host in that group and check it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: how to schedule recurring downtime - first tues of the m
I was hoping I would be able to close this one today, our Winodws Production Patching run last night. Alas, no.
The recurring downtime disabled the host notifications for the intended hostgroup - which was what we wanted.
However it also disabled all the service checks on these hosts, which we didn't want.
I doubled checked them in Scheduled Downtime as you suggested after your last reply and only the host downtime was listed.
Could there be a bug in the recurring downtime script? We have never had a problem with it before but until now we have always used it to
disable both host and service checks in a Hostgroup.
thanks,
Penny
The recurring downtime disabled the host notifications for the intended hostgroup - which was what we wanted.
However it also disabled all the service checks on these hosts, which we didn't want.
I doubled checked them in Scheduled Downtime as you suggested after your last reply and only the host downtime was listed.
Could there be a bug in the recurring downtime script? We have never had a problem with it before but until now we have always used it to
disable both host and service checks in a Hostgroup.
thanks,
Penny
Re: how to schedule recurring downtime - first tues of the m
Can you get the /usr/local/nagios/var/nagios.log file and the newest archive log file in the /usr/local/nagios/var/archives folder and upload them here so we can view them?
Thanks.
Thanks.
Be sure to check out our Knowledgebase for helpful articles and solutions!