[ZBX-15995] Invalid key on LLD macros Created: 2019 Apr 15  Updated: 2019 Apr 16  Resolved: 2019 Apr 16

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 4.2.0
Fix Version/s: None

Type: Incident report Priority: Major
Reporter: Markus Fischbacher Assignee: Zabbix Support Team
Resolution: Duplicate Votes: 0
Labels: lld, macro, prometheus
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File error.png    
Issue Links:
Duplicate
duplicates ZBX-15938 Discovery using Prometheus data ( Doc... Closed

 Description   

Steps to reproduce:

All done like inĀ https://www.zabbix.com/documentation/4.2/manual/discovery/low_level_discovery/prometheus

Result:
SeeĀ error.png

Invalid key "{#METRIC}" for item prototype "Alerts by State {#STATE}" on "alertmanager": incorrect syntax near "{#METRIC}".

Expected:

If i change the key to say whatever{#METRIC} it works but then it's not realy the idea behind that or at least the documentation is wrong.



 Comments   
Comment by Glebs Ivanovskis [ 2019 Apr 15 ]

Duplicates ZBX-15938.

Comment by Arturs Lontons [ 2019 Apr 16 ]

Thanks for reporting the issue.
Since this duplicate ZBX-15938, let's keep all the discussion regarding this issue there.

Comment by Markus Fischbacher [ 2019 Apr 16 ]

Thank you. Sorry haven't found that one on creation.

Generated at Mon May 12 07:59:57 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.