[ZBX-2733] Zabbix timer process evaluate same item triggers per 30 sec even if a trigger including "nodata()" is disabled. Created: 2010 Jul 21 Updated: 2017 May 30 Resolved: 2010 Jul 22 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.2, 1.9.0 (alpha) |
Fix Version/s: | 1.8.3, 1.9.0 (alpha) |
Type: | Incident report | Priority: | Major |
Reporter: | Takanori Suzuki | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux, Zabbix server |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() |
Description |
Zabbix timer process evaluate same item triggers per 30 sec even if a trigger including "nodata()" is disabled. I have following item and triggers.
I think only if "nodata trigger" is enabled, "nodata trigger" and "error occurs with nodata trigger" should be reported. (see zbx_01.png) The following SQL in "process_time_functions()" executed by timer process dosen't check if triggers are enable or disable.
I think following is correct.
|
Comments |
Comment by Takanori Suzuki [ 2010 Jul 21 ] |
I checked this issue by trunk revision r13332. |
Comment by Aleksandrs Saveljevs [ 2010 Jul 22 ] |
Fixed in pre-1.8.3 in r13541. |
Comment by Takanori Suzuki [ 2010 Jul 23 ] |
Thank you Saveljevs. I have a question. |
Comment by Aleksandrs Saveljevs [ 2010 Jul 23 ] |
Yes, the previous behavior was wrong. Normally, triggers are reevaluated only when new data for an item comes in. In your particular example, the trigger "system.uptime.last(0)>0" (zbx_03.png) should only be evaluated every 3000 seconds, which is the update interval of the "system.uptime" item (zbx_05.png). Only triggers containing time-driven functions like "nodata" should be reevaluated every 30 seconds. |
Comment by Takanori Suzuki [ 2010 Jul 23 ] |
Aha, I see. |
Comment by Aleksandrs Saveljevs [ 2010 Jul 23 ] |
Thank you for noticing it! |