Page 2 of 2
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:01 pm
by abrist
You could make a continuous set of 7 days as well as specify Friday only. This way it could only happen once a month:
For example:
Code: Select all
Weekday: Friday
Days: 1,2,3,4,5,6,7
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:02 pm
by BanditBBS
abrist wrote:You could make a continuous set of 7 days as well as specify Friday only. This way it could only happen once a month:
For example:
Code: Select all
Weekday: Friday
Days: 1,2,3,4,5,6,7
That would force it to be the 1st Friday of every month. I'm opening a feature request as I will be wanting this in the future myself.
http://tracker.nagios.com/view.php?id=374
EDIT: I guess after writing my next message, I realize you can do what I requested in the feature request by doing day of month numbers.
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:18 pm
by BanditBBS
JAMES-BAE wrote:BanditBBS, thanks for bring it up regarding the (March would actually have two Fridays fit the criteria, the 8th and 15th). What can I do to get around this ?
I was looking at your setup and abrist's hint. Looks like you do it on a mix of the 2nd or 3rd Friday of month, it is not consistent. If you could standardize, you could put as abrist said "1,2,3,4,5,6,7" for the first Friday or "8,9,10,11,12,13,14" for the 2nd Friday and so on...
The field for "days of month" is not a per month field like you have it setup. If you put 15th in there once, any Friday of any month, that happens to be on the 15th would be valid.
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:19 pm
by scottwilkerson
Actually, every second Friday configuration would be as follows:
Code: Select all
Valid Weekdays: Friday
Valid Days of Month: 8,9,10,11,12,13,14
I have no idea why the OP had
Valid Weekdays: Friday
Valid Days of Month:
18,15,15,12,10,14,12,09,13,11,08,13????
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:20 pm
by abrist
BanditBBS wrote:abrist wrote:You could make a continuous set of 7 days as well as specify Friday only. This way it could only happen once a month:
For example:
Code: Select all
Weekday: Friday
Days: 1,2,3,4,5,6,7
That would force it to be the 1st Friday of every month.
It was just an example. If you want it on the second Friday, make it the second continuous set: 8,9,10,11,12,13,14
The only issues someone will run into with this method is if they wish to run something at or near the end of the month.
It is not the first time this feature has been requested on the forums, so it's about time for a tracker request

Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:22 pm
by BanditBBS
abrist wrote:It is not the first time this feature has been requested on the forums, so it's about time for a tracker request

After further thought, it isn't needed, using numbers in days of month gives the functionality.
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:27 pm
by abrist
The current system does work fine, unless you want to schedule downtime on the *last* Friday (etc) of the month as some months have 5 instead of 4 Fridays (etc).
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:35 pm
by BanditBBS
His schedule isn't standardized, so recurring wouldn't work for him.
I sort of hijacked this thread. But back to his opening issue, no clue why it did it since it was not in the list of valid days.
Re: Recurring Downtime setting
Posted: Mon Feb 25, 2013 12:42 pm
by abrist
Looking at the OP's dates, I would assume he was attempting to set up downtime on the third Friday (and sometimes the second) of every month.
@James: What is the reason for the odd schedule? The issue may be related to having the same numbers entered more than once?