[ZBXNEXT-9577] LLD Macro use as item key name Created: 2024 Oct 28 Updated: 2024 Oct 30 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | 7.0.4 |
Fix Version/s: | None |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Jason | Assignee: | Andris Zeila |
Resolution: | Unresolved | Votes: | 0 |
Labels: | items, lld, macros | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
Description |
LLD Macros should be able to be used as the item key name (NOT only as parameter) in prototype items. Current issue: When using item prototypes with user parameters, brackets are not allowed in a user parameter. So an item prototype that uses the macro as part of the item key name itself makes the item unusable with said user parameters. |
Comments |
Comment by Alexandre Favre [ 2024 Oct 30 ] |
Please try this syntax in key:
net.if.status.[{#INTFNAME}]
And please read the documentation |
Comment by Jason [ 2024 Oct 30 ] |
As I described above, I would like to see LLD macros able to be used as the item key name. net.if.status.[{#INTFNAME}] is an example of the macro in the item key parameter, which I was already aware of. And as I described above, when using this in combination with user parameters, it will not work as I cannot pre-define a user parameter item key parameter. |