[ZBX-1505] user macros are not resolved anywhere on the frontend Created: 2009 Dec 10  Updated: 2017 May 30  Resolved: 2010 Apr 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 1.9.0 (alpha)
Fix Version/s: 1.8.3

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

Issue Links:
Duplicate
is duplicated by ZBX-1856 Macros are not expanded Closed

 Description   

for example, in item configuration screen, monitoring section, administration -> queue...
this is very confusing and leads users to believe that user macro does not work.

instead, these should be resolved wherever it makes sense to the value that will be in effect, taking into account overrides



 Comments   
Comment by Thomas Spengler [ 2010 Jan 28 ]

is it fixable in a 1.8.x ?

Comment by richlv [ 2010 Jan 28 ]

"fixable" as in with some simple change, or as in possible with non-intrusive changes in 1.8 branch ?

first, not sure, but not likely, second - most likely yes.

Comment by Marek Neumann [ 2010 Apr 27 ]

Would it be possible to integrate this into 1.8? This bug makes macros almost unusable...

Comment by Alexei Vladishev [ 2010 Apr 27 ]

It affects all screens having key parameters references in item description:

  • Latest Data
  • Configuration->Hosts->Items
  • Queue
  • Overview
  • etc etc

For example:

Item key: vfs.fs.size[{$ROOT.VOLUME},pfree}
Item description: Free disk space on $1

It is incorrectly expanded to "Free disk space on

{ROOT.VOLUME}

", should be "Free disk space on /"

It must be fixed.

Comment by richlv [ 2010 Apr 27 ]

possibly similar bug - ZBX-1824 (item key macros don't work in map labels if using usermacros)

Comment by richlv [ 2010 Apr 28 ]

confirming the fix in dev branch rev 11756.

Comment by Alexey Fukalov [ 2010 Apr 28 ]

branches/1.8 11763

Generated at Thu Apr 25 14:45:12 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.