[ZBX-10510] period condition in action configuration does not use event time Created: 2016 Mar 09 Updated: 2017 May 30 Resolved: 2016 Aug 05 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.11 |
Fix Version/s: | 2.2.12rc1, 2.4.8rc1, 3.0.2rc1, 3.2.0alpha1 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Kazuo Ito | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | actions, conditions, timeperiod | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | ZBX-10510_period_configuration_reproduce.zip | ||||
Issue Links: |
|
Description |
according to documentation, period condition in action uses event time, but check_time_period() uses current time in check_action_contitions()
|
Comments |
Comment by Oleksii Zagorskyi [ 2016 Mar 10 ] |
Usually the time period condition is evaluated right after (escalator wakes up every 3 seconds) an event has been created. Do you have some specific use case where it causes any problem? kodai Action condition is evaluated by history syncer or timer process, then start escalation if the condition matches generated event. It think that action condition should use event time as described in the documentation. zalex_ua Got it, thank you. |
Comment by Kazuo Ito [ 2016 Mar 10 ] |
Action condition
Generated events 00:59:59 process_actions is reading the actions table by the number of events.
Execution of check_action_contitions() <- 1:00 later |
Comment by Alexei Vladishev [ 2016 Mar 14 ] |
Zabbix must use event time as described in the documentation. It is clearly a problem that needs to be fixed. |
Comment by Viktors Tjarve [ 2016 Mar 30 ] |
Is it possible to provide the server log file from the occurrence of this issue? JKKim OK. Please check the attached file. viktors.tjarve Thanks. |
Comment by Viktors Tjarve [ 2016 Mar 30 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-10510 |
Comment by Andris Zeila [ 2016 Apr 01 ] |
Successfully tested |
Comment by Viktors Tjarve [ 2016 Apr 01 ] |
Released in:
|