[ZBXNEXT-1806] Change recurring maintenance period calculation logic Created: 2013 Jul 01  Updated: 2013 Oct 18  Resolved: 2013 Oct 17

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: 2.1.8

Type: Change Request Priority: Trivial
Reporter: Andris Zeila Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: maintenance, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently recurring maintenance periods are specified as H hours of maintenance every Nth day. This leaves the period until the first maintenance larger than the following periods between maintenances. That could be avoided by changing the recurring maintenance period specification as H hours of maintenance every N days.



 Comments   
Comment by Andris Zeila [ 2013 Jul 01 ]

For example with N = 5 and H = 48 (2 days) the maintenance schedule would look like:

1) ....xx...xx...xx...xx (current specification)
2) xx...xx...xx...xx... (proposed specification)

Comment by richlv [ 2013 Jul 01 ]

i believe this should also include limiting main maintenance period to full day, as discussed with sasha

Comment by Aleksandrs Saveljevs [ 2013 Oct 03 ]

Server and databases patches done in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-1806 .

Comment by Andris Zeila [ 2013 Oct 04 ]

[S] server side successfully tested.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 14 ]

Frontend side RESOLVED in r39268.

Comment by Aleksandrs Saveljevs [ 2013 Oct 15 ]

We discussed the issue here in the office and decided that removing hours and minutes causes too much problems. In particular, it requires us to store "Active since" and "Active till" in the database as a date (not timestamp) due to timezone issues, which is the change we are not exactly willing to make right now.

Also, having hours and minutes is actually useful. Suppose something broke and we wish to fix it until next working week starts. We will be doing maintenances every morning and every evening, and the last maintenance we wish to do is Monday morning. Currently, we can achieve this by setting "Active till" to, say, Monday noon. With hours and minutes gone, this will not be possible.

So let's revert most of the frontend changes and, instead of removing hours and minutes in maintenance configuration, let them default to 00:00 when creating a new maintenance.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Oct 17 ]

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBXNEXT-1806.

Comment by Aleksandrs Saveljevs [ 2013 Oct 17 ]

Server side done anew in the recreated branch, too.

Comment by Andris Zeila [ 2013 Oct 17 ]

Successfully tested

Comment by Aleksandrs Saveljevs [ 2013 Oct 18 ]

Available in pre-2.1.8 (trunk) r39400.

Comment by Aleksandrs Saveljevs [ 2013 Oct 18 ]

Updated documentation at https://www.zabbix.com/documentation/2.2/manual/maintenance . Please take a look.

martins-v Looking good. Added to "what's new" and upgrade notes as well:

asaveljevs Thank you!

Generated at Thu Apr 25 07:03:02 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.