Environment
I am unable to connect the Grafana Zabbix datasource to a Zabbix 7.4 server.
The datasource test in Grafana returns:
Could not connect to given URL
In some cases, Grafana also displays:
basic auth is not supported for Zabbix v7.2 and later:
Has anyone successfully connected Grafana 13.2.2 with the Zabbix datasource plugin (6.7.x or 6.8.x) to Zabbix 7.4 using API tokens?
Could this be a compatibility issue between:
- Grafana: 13.2.2
- Zabbix Server: 7.4.x
- Zabbix Plugin for Grafana: tested with 6.7.0 and 6.8.0
- OS: Ubuntu Server 26.04 LTS
I am unable to connect the Grafana Zabbix datasource to a Zabbix 7.4 server.
The datasource test in Grafana returns:
Could not connect to given URL
In some cases, Grafana also displays:
basic auth is not supported for Zabbix v7.2 and later:
- Verified that the Zabbix API is reachable:
http://<zabbix-server>/zabbix/api_jsonrpc.php
Mostrar mais linhas - Tested API authentication manually using curl:
curl -X POST \
-H "Content-Type: application/json-rpc" \
-d '{
"jsonrpc":"2.0",
"method":"user.login",
"params":{
"username":"<user>",
"password":"<password>"
},
"id":1
}' \
http://<zabbix-server>/zabbix/api_jsonrpc.php
Mostrar mais linhas Authentication succeeds and returns a valid token. - Created a dedicated API token in Zabbix and verified it works with curl using:
Authorization: Bearer <token> - Captured traffic with tcpdump and confirmed Grafana is sending requests to:
POST /zabbix/api_jsonrpc.php - The Zabbix server replies with:
HTTP/1.1 200 OK - Despite the successful API responses, Grafana still reports:
Could not connect to given URL
Has anyone successfully connected Grafana 13.2.2 with the Zabbix datasource plugin (6.7.x or 6.8.x) to Zabbix 7.4 using API tokens?
Could this be a compatibility issue between:
- Grafana 13.2.2
- alexanderzobnin-zabbix-app 6.7/6.8
- Zabbix 7.4 API authentication changes