I’ve installed Grafana 6.6.1 (and now 6.6.2) along with the Zabbix 3.10.5 plugin. This is to pull metrics from Zabbix 4.4.5. Both are on the same Oracle Linux 7.7 server.
I enabled the Zabbix plugin, then configured the data source. I chose:
- HTTP Access: Server (default)
- No Auth selected
- Zabbix API: Trends enabled, Zabbix version 4.x
- Direct DB Connection: disabled
The “Save & Test” responds with “Zabbix API version: 4.4.5”, so I know the API URL, username and password are correct.
But trying to pull any metrics or data from the data source fails. Graphs just show “N/A” or “No data”, and pull downs (e.g. “Group” or “Host”) are empty.
I installed the PostgreSQL plugin and configured the data source in order to use the Direct DB Connection. Testing again succeeded, but no metrics as before.
I’ve tried turning debug on in the
/etc/grafana/grafana.ini file with:
[log.file] level = debug filters = plugins:debug
While that creates many entries in
/var/log/grafana/grafana.log with a
lvl=dbug tag, I don’t see anything in that log to help troubleshoot why the data source connects to Zabbix, but can’t pull back any metrics.
I also attempted to debug Zabbix, but there was nothing I could find in its logs relating to “API” or “Grafana”.
Anyone know what else I can do to troubleshoot this?
p.s. This has been working fine on my existing Grafana 5.0.4 / Zabbix plugin 3.9.0 / Zabbix 3.2.11 setup. I’m needing to replace that server, so new versions.