grafana-zabbix icon indicating copy to clipboard operation
grafana-zabbix copied to clipboard

Ability to hide host name is lost in 8.1.8

Open Artyrm opened this issue 3 years ago • 2 comments

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

Artyrm avatar Dec 22 '21 14:12 Artyrm

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

byles avatar Dec 23 '21 10:12 byles