grafana / grafana-zabbix

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

Ability to hide host name is lost in 8.1.8 #1361

Open Artyrm opened 2 years ago

Artyrm commented 2 years ago

Describe the bug I switched recently to 8.1.8 and find out that Zabbix hosts names on graphs with several hosts are no longer hidden, if only one host is selected.

Expected behavior I believe it was someone's feature request, to always show hostname, but there are cases when it is, in fact, inconvenient. At least it could be an option.

Looks like replaceAlias or setAlias in that case is of no help, since when several hosts are selected, it is OK to show their names.

Software versions

Grafana Zabbix Grafana-Zabbix Plugin
8.1.8 5.0.18 x.x.x
byles commented 2 years ago

Grafana v8.0.0 & v8.3.3, Grafana-Zabbix Plugin 4.2.4

It appears to me that host name is always shown regardless of single or multiple hosts are selected. Could it be optional? :)

Is it appropriate for me to add the following vars to this issue for anybody reading this who might find setAlias() suitable? $__zbx_item, $zbx_item_name - item name $zbx_item_key - item key $zbx_host_name - visible name of the host $zbx_host - technical name of the host

github-actions[bot] commented 3 months 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!