Connecting Zabbix to Grafana
Sign in to read this lesson
Zabbix has its own dashboards, but for management and NOC screens Grafana is often chosen. In this lesson we install Grafana on grf-srv01 from the official repository, add the Zabbix plugin, create a read-only API user and token in Zabbix, connect the data source and build a panel for the FortiGate and the switch.
What you will learn
- Grafana is installed from its official APT repository: key
/etc/apt/keyrings/grafana.asc, repohttps://apt.grafana.com stable main, packagegrafana, servicegrafana-server, port 3000. - The first login is
admin/admin; Grafana demands a new password at once. - Plugin:
grafana cli plugins install alexanderzobnin-zabbix-app(grafana-cliin older versions), then Enable in Administration > Plugins. - In a new Zabbix 8.0 installation API access is disabled for roles: for Grafana create a separate role (Access to API: Enabled), the user
grafanaand an API token. - Data source URL:
http://10.10.10.20/zabbix/api_jsonrpc.php, authentication: API token; Save & test must show the Zabbix API version.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.