How to make enabled/disabled hosts counter using Zabbix+grafana?


CentOS 7 3.10.0-693.21.1.el7.x86_64
mysql Ver 15.1 Distrib 5.5.56-MariaDB
Zabbix 3.4.8
grafana 5.0.4-1

In Zabbix there is default panel with Number of hosts (enabled/disabled/templates) counter:
Is it possible to make the same counter in grafana?

As I think, there is no special metric like “N host is down” in Zabbix, so I can’t just read it and use it in Singlestat module.
Any Ideas? Thank you.

Hi! This is not possible to do with zabbix datasource, but you can get this metrics from Zabbix database by using one of Grafanas’ SQL datasources. See example here

1 Like