2

My environment

  • Zabbix 3.4
  • Grafana 5.2
  • Grafana Zabbix Plugin 3.9.1

I have a problem about zabbix / grafana integrate test. When input zabbix url's in grafana datasource, return "Could not connect to given url" Error.

But JSON_RPC Curl Test Return / Zabbix_DB(MySQL) Connection test OK.

Data Source for Zabbix_Monitoring:

enter image description here

Data Source for Zabbix_Monitoring_DB:

enter image description here

JSON_RPC+TEST:

enter image description here

oharsax
  • 21
  • 1
  • 3
  • Check browser console. There can be a CORS issue, https/http issue, ... Also, pls provide details how is Zabbix API url configured in the Grafana - direct or server access? – Jan Garaj Oct 02 '18 at 10:47

2 Answers2

1

example

if there is no connection to Zabbix, you can change the path to api_jsonrpc.php. Remove the intermediate folder out of the path (highlighted in red in the picture)

-1

I fix the problem by enabling the firewall and simply by command sudo ufw allow 3000, I opened port 3000 and problem solved.

Majid Hajibaba
  • 3,105
  • 6
  • 23
  • 55