(Zabbix 5.4.11, Grafana Enterprise 8.4.4.1, Mariadb 10.3.28-1)
Hi everybody!
I know this may be an issue at Grafana's end or may need direct queries to the Zabbix database, but I can't seem to get a panel much like the Zabbix's "Host availability" -widget working in Grafana.

What I (read: my managers) would like to have is a traffic lights kind of webpage showing how many servers in a host group are up and how many down. So pretty much what the "Host availability" -widget does in Zabbix. I know I could create a dashboard in Zabbix and share that, but apparently the management likes the outlook of Grafana's dashboards better.
The connection ie. Zabbix datasource works fine in Grafana. I can get the needed up/down information on hosts available. I can also get a big view of hosts in a hostgroup showing either red or green for each host according to its status. But what I can't seem to be able to get working is a single counter showing how many servers are 'green' and how many are 'red'.
So why am I asking about this in here rather than the Grafana community? Well I'm not sure if it's something that I must do at Grafana's end or if there's a way to grab the information directly from Zabbix. Or perhaps I could do a mysql-query directly from the Zabbix database and count the number of ones and zeros? It's just that I'm not very skilled in sql an I looking at the database tables, I wasn't able to find where the item Zabbix agent availability stores its values.

Any help would really be appreciated!
Thanks
- Pekka
Hi everybody!
I know this may be an issue at Grafana's end or may need direct queries to the Zabbix database, but I can't seem to get a panel much like the Zabbix's "Host availability" -widget working in Grafana.
What I (read: my managers) would like to have is a traffic lights kind of webpage showing how many servers in a host group are up and how many down. So pretty much what the "Host availability" -widget does in Zabbix. I know I could create a dashboard in Zabbix and share that, but apparently the management likes the outlook of Grafana's dashboards better.
The connection ie. Zabbix datasource works fine in Grafana. I can get the needed up/down information on hosts available. I can also get a big view of hosts in a hostgroup showing either red or green for each host according to its status. But what I can't seem to be able to get working is a single counter showing how many servers are 'green' and how many are 'red'.
So why am I asking about this in here rather than the Grafana community? Well I'm not sure if it's something that I must do at Grafana's end or if there's a way to grab the information directly from Zabbix. Or perhaps I could do a mysql-query directly from the Zabbix database and count the number of ones and zeros? It's just that I'm not very skilled in sql an I looking at the database tables, I wasn't able to find where the item Zabbix agent availability stores its values.
Any help would really be appreciated!
Thanks
- Pekka
Comment