grafana / grafana-zabbix

Zabbix plugin for Grafana dashboard
http://play.grafana-zabbix.org
Apache License 2.0
2.06k stars 458 forks source link

The evalMatches key of grafana alert is fixed to "Value" #1338

Open yheonhochoi opened 2 years ago

yheonhochoi commented 2 years ago

Describe the bug Is it possible to make the host value appear as a key in grafana's evalMatches?

If we use zabbix as a data source in Grafana and create an alert,

as shown below, the key of evalMatches is fixed as "Value" and cannot be changed.

1

Prometheus Detail (2 0) - Grafana 2021-11-01 15-32-23

Expected behavior A legend (e.g., host) for each time series should appear.

Screenshots ~If applicable, add screenshots to help explain your problem.~ A screenshot is attached at the top.

Network data ~If it's related to metric data visualization would be great to get the raw query and response for the network request (check this in browser dev tools network tab, there you can see metric requests, please include the request body and request response)~

Software versions grafana: 8.0.3 zabbix datasource plugin: 4.2.2

kdkaergaard commented 2 years ago

Ran into this problem with Alert templating. Have yet to find identify a solution, meaning we are unable to clearly describe which Zabbix Item the Alert triggered on, in the message.

Grafana: 8.2.1 Zabbix Datasource Plugin: 4.2.4

Edit: image

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had activity in the last 2 years. It will be closed in 60 days if no further activity occurs. Please feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!