[ZBX-18770] LLD Item prototype: dependant item macro Invalid key Created: 2020 Dec 15 Updated: 2020 Dec 17 |
|
| Status: | Confirmed |
| Project: | ZABBIX BUGS AND ISSUES |
| Component/s: | Server (S) |
| Affects Version/s: | 5.0.6 |
| Fix Version/s: | None |
| Type: | Incident report | Priority: | Trivial |
| Reporter: | itcbsops | Assignee: | Zabbix Development Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | lld | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Prod |
||
| Description |
|
Creation of an item prototype of type dependant item is not possible because LLD macros are not accepted in item Key. Example: Cannot update item prototype _ {#MATCH} 2" on "TMPL_ITCBSOPS_KONDOR": incorrect syntax near "{#PELENV} {#MATCH}_2". |
| Comments |
| Comment by itcbsops [ 2020 Dec 15 ] |
|
I forgot to mention: if I remove the LLD Macros from the Item Key, then of course Zabbix can't create the items and hows this : Cannot create item: item with the same key "K_ACK_report_2" already exists. |
| Comment by itcbsops [ 2020 Dec 15 ] |
|
I found the solution.
KondorACKCount[{#PELENV},{#MATCH}]
This should be mentionned in the documentation. |