[ZBX-4325] maintenance does not start at the specified time Created: 2011 Nov 07  Updated: 2017 May 30  Resolved: 2011 Nov 11

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.8.8
Fix Version/s: 1.8.9, 1.9.8 (beta)

Type: Incident report Priority: Major
Reporter: Aleksandrs Saveljevs Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   

Suppose we create a maintenance that is active from 07.11.2011 12:00. Suppose we also create a maintenance period for an hour, starting from the same time: 07.11.2011 12:00. The problem is that maintenance will not start at 12:00.

The reason this happens is because the "active from" value in the database is actually 07.11.2011 12:00 plus a bunch of seconds (depending on when the maintenance was created), i.e., not exactly 12:00:00. Server then considers "12:00" from the period to be less than "12:00" from "active from", and the maintenance does not start.

The solution is to make GUI save the "active from" timestamp with a zero number of seconds.



 Comments   
Comment by Aleksandrs Saveljevs [ 2011 Nov 07 ]

We will also add maintenance logging at DebugLevel=3 on the server side under this issue.

Comment by Aleksandrs Saveljevs [ 2011 Nov 08 ]

Server side available in development branch svn://svn.zabbix.com/branches/dev/ZBX-4325 .

Comment by Alexey Fukalov [ 2011 Nov 09 ]

Frontend side finished in dev branch.

Comment by Alexey Fukalov [ 2011 Nov 11 ]

svn://svn.zabbix.com/branches/1.8 23154

Comment by Alexey Fukalov [ 2011 Nov 14 ]

svn://svn.zabbix.com/trunk 23189

Generated at Thu Apr 25 19:56:59 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.