[ZBX-18219] Custom Multiplier using LLD Macro in expression Created: 2020 Aug 08  Updated: 2024 Apr 10  Resolved: 2020 Dec 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: API (A), Frontend (F)
Affects Version/s: 5.0.1
Fix Version/s: 4.0.28rc1, 5.0.7rc1, 5.2.3rc1, 5.4.0alpha1, 5.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Damon Hagerstrom Assignee: Andrejs Griščenko
Resolution: Fixed Votes: 0
Labels: multiplier, preprocessing
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 20.04, Zabbix 5.0


Attachments: PNG File CustomMulti.png    
Team: Team D
Sprint: Sprint 67 (Aug 2020), Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
Story Points: 0.25

 Description   

Steps to reproduce:

  1. Create LLD item, LLD macro {#MACRO}
  2. Add preprocessing - custom multiplier
  3. Paramater = 1e-{#MACRO} or -{#MACRO}

Result:
See screenshot...

Expected:
The {#MACRO} entry should be parsed



 Comments   
Comment by Damon Hagerstrom [ 2020 Aug 08 ]

FWIW - JavaScript preprocessing works as expected using the same LLD Macro and JS equivalent formula.

Comment by Alexander Vladishev [ 2020 Aug 09 ]

Same issue when using user macros.

Comment by Andrejs Griščenko [ 2020 Nov 24 ]

Resolved in development branches:

Comment by Andrejs Griščenko [ 2020 Dec 02 ]

Fixed in:

Documentation updated:

Generated at Wed Jan 08 20:55:55 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.