Recurring Downtimes
Posted: Mon Jun 26, 2017 9:19 am
Hi,
we are having trouble understanding the recurring downtime 'Valid days of Month' area (or it is bugged).
We expected it to schedule a recurring downtime only if the date of the downtime is a day of month as specified.
Instead it seems to schedule the downtime for the next allowed day of week if the condition was tested on one of the days of month as specified.
For example:
Scheduling a downtime with this settings:
Start Time 02:00
Duration 60
Valid months: no selection
Valid weekdays: Sun
Valid days of month: 20,21,22,23,24,25,26,27
Expected behaviour: Next downtime will be scheduled for a Sunday on Day of Month 20,21,22,23,24,25,26,27 (next possibility: 2017-07-23)
Actual behaviour: If the current date is 20,21,22,23,24,25,26,27 a downtime will be scheduled for next Sunday (2017-07-02)
Testing for the "if the condition was tested on one of the days of month as specified": Creating a recurring downtime for days 8,9,10,11,12,13,14 does not lead to a downtime scheduled for next Sunday, 2017-07-02
Screenshots attached.
Is this a bug or a problem of our understanding of the valid day of month area?
Update: Added System Info as attachment
This is the current Nagios XI version
we are having trouble understanding the recurring downtime 'Valid days of Month' area (or it is bugged).
We expected it to schedule a recurring downtime only if the date of the downtime is a day of month as specified.
Instead it seems to schedule the downtime for the next allowed day of week if the condition was tested on one of the days of month as specified.
For example:
Scheduling a downtime with this settings:
Start Time 02:00
Duration 60
Valid months: no selection
Valid weekdays: Sun
Valid days of month: 20,21,22,23,24,25,26,27
Expected behaviour: Next downtime will be scheduled for a Sunday on Day of Month 20,21,22,23,24,25,26,27 (next possibility: 2017-07-23)
Actual behaviour: If the current date is 20,21,22,23,24,25,26,27 a downtime will be scheduled for next Sunday (2017-07-02)
Testing for the "if the condition was tested on one of the days of month as specified": Creating a recurring downtime for days 8,9,10,11,12,13,14 does not lead to a downtime scheduled for next Sunday, 2017-07-02
Screenshots attached.
Is this a bug or a problem of our understanding of the valid day of month area?
Update: Added System Info as attachment
This is the current Nagios XI version