Stat panel not showing hostnames

Hi Guys.

After an upgrade i have a problem with my stat panels. Before it, if i used the following filtering:

I got the value WITH the name of the host on the panel:

After the upgrade, if i filter to exact host, the hostname is not showing, only the value:

What is the recommended way to filter to a host and show the name of it on the panel?

If you want to show the hostname value in your function add setAlias($__zbx_host)

To filter the field by host name or by Host too in your query.

I advise you to put /.*/ in your Host so that you can filter on the dashboard by clicking on the hostname in the legend for the timeseries panel for example.

Or cool thing with Polystat plugin

1 Like

Oh hell. Thanks. Its works.

1 Like