[ZBX-11162] Macro {$MACRO:context} does not work in function parameters. Created: 2016 Sep 06 Updated: 2017 May 30 Resolved: 2016 Sep 29 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Documentation (D) |
Affects Version/s: | 3.0.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Minor |
Reporter: | Kazuo Ito | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | lld, macro, macrocontext, triggerfunctions | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | event detail 01.png event detail 02.png global macro.png host macro.png trigger prototypes.png trigger.png | ||||||||
Issue Links: |
|
Description |
Comments |
Comment by richlv [ 2016 Sep 06 ] |
duplicate of |
Comment by Glebs Ivanovskis (Inactive) [ 2016 Sep 13 ] |
Although it really is a duplicate of It's really frustrating when the same construction may work or not work depending on it's placement in the same frontend input field. User does not need to know that Zabbix stores trigger functions and their parameters separately from trigger expressions and separate mechanisms are responsible for user- and LLD-macro resolution. These documentation pages need to be updated:
|
Comment by Vladimir Silin (Inactive) [ 2016 Sep 23 ] |
After discussion with martins-v mention of macro context usage limitation was added to Macros Supported Location Overview table for 3.0 and 3.2 (in macro {$MACRO} Description column). sasha Is is not correct. User macros without and with contexts are supported in trigger function parameters. Are not supported lld macros in trigger function parameters and inside of user macro contexts which located in such parameters. REOPENED |
Comment by Vladimir Silin (Inactive) [ 2016 Sep 29 ] |
Added note about limitation to the LLD documentation chapter "Using LLD macros in user macro context" for versions 3.0 and 3.2. sasha Looks good to me. CLOSED |