[ZBX-6946] LLD trigger prototype is not calculate correctly if in expression user macro or LLD macro Created: 2013 Sep 02  Updated: 2017 May 30  Resolved: 2013 Sep 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.8, 2.1.3
Fix Version/s: 2.1.5

Type: Incident report Priority: Major
Reporter: Andrei Gushchin (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: lld, triggertesting
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File lld tr.proto exp.png    
Issue Links:
Duplicate

 Description   

Test trigger expression in frontend doing wrong calculates.

For reproducing:
1) create a custom LLD discovery or use from box(in my example it is Mounted filesystem discovery from Template OS Linux).
2) trigger prototype expression like this ({Zabbix server:vfs.fs.size[

{#FSNAME},pfree].last(0)}< {#UMACRO} & {Zabbix server:vfs.fs.size[{#FSNAME}

,pfree].time(0)}> 080000)
3) try to test it with numbers like in the attached screenshot

Related to ZBXNEXT-1286



 Comments   
Comment by richlv [ 2013 Sep 03 ]

btw, we already fixed something very similar in ZBX-2979

Comment by Vitalij Romanovskij (Inactive) [ 2013 Sep 09 ]

fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-6946

Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 11 ]

A similar issue has been fixed for time items in ZBX-6468.

Comment by Pavels Jelisejevs (Inactive) [ 2013 Sep 11 ]

TESTED.

Comment by Vitalij Romanovskij (Inactive) [ 2013 Sep 12 ]

fixed in pre-2.1.5 (trunk) r38433

Generated at Fri Apr 11 17:23:00 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.