[ZBX-13435] Can't create item prototype with {#MACRO} as key Created: 2018 Feb 05 Updated: 2018 Feb 05 Resolved: 2018 Feb 05 |
|
| Status: | Closed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | Dmitry Verkhoturov | Assignee: | Unassigned |
| Resolution: | Won't fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
When I try to create item prototype with key "{#MACRO}", it won't let me with following error: Second MACRO in message above is item name. "{#MACRO}" doesn't work, "metric[{#MACRO}]" does. |
| Comments |
| Comment by Dmitry Verkhoturov [ 2018 Feb 05 ] |
|
Zabbix version is 3.4.4. Please, fix original comment formatting - I've messed up a little. |
| Comment by Kaspars Mednis [ 2018 Feb 05 ] |
|
It is not just validation, it is by design. Zabbix does not support such item syntax. In metric[{#MACRO}] your macro is passed as parameter, in {#MACRO} you are trying to pass it as key name.
Regards, |