grafana / grafana-zabbix

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

Single host items contain the hostname in the legend #1735

Open mingaliev-e opened 11 months ago

mingaliev-e commented 11 months ago

Hi, new version 4.1.1 did not fix the issue https://github.com/grafana/grafana-zabbix/issues/1335 I`m using Grafana v 9.5.5 and zabbix v 5.0

hostname is not displayed if Direct DB Connection is disabled but if you turn it on, the name will appear again

isaqueprofeta commented 11 months ago

You should use replaceAlias function to remove the hostname part. look at the steps on this video: https://youtu.be/-dT8Yu0Upk4?list=PLTAdaA8clXXK9A9rPjBKqxho4AGSTb6un&t=352

zoltanbedi commented 11 months ago

I was able to replicate it thanks @mingaliev-e. While we are working on a fix you can use @isaqueprofeta answer as a workaround.

mingaliev-e commented 11 months ago

@zoltanbedi I can’t use replicaAlias, I have about 2000 dashboards and changing each chart takes a very long time

onanok commented 10 months ago

When using "Direct DB Connection" on version 4.4.3 , still not fixed . When not enable this option ,it worked on 4.4.3