Ad Widget

Collapse

Issues Connecting Zabbix to Grafana in Docker Network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SMS Cruz Machado
    Junior Member
    • Aug 2024
    • 2

    #1

    Issues Connecting Zabbix to Grafana in Docker Network

    Click image for larger version

Name:	Captura de tela 2024-08-28 105700.png
Views:	368
Size:	50.2 KB
ID:	490390
    Hello everyone,
    I'm currently running Zabbix and Grafana in Docker containers on the same network. However, I'm facing issues when trying to connect Zabbix to Grafana. Here are the details:
    • Setup: Both Zabbix and Grafana are running in separate Docker containers on the same Docker network.
    • Problem: When attempting to connect Zabbix to Grafana, I encounter various errors.
    Here are some specific errors and observations:
    1. I get a error when trying to access . This indicates that the endpoint might not be correctly configured or available.404 Not Foundhttp://172.19.0.4:8080/zabbix/api_jsonrpc.php
    2. I have tried various IP addresses and configurations to access the Zabbix API, but none of them work.
    3. I have tried different commands to test connectivity and endpoints, but I'm not getting the expected responses.curl
    I would appreciate any guidance or suggestions on how to resolve these connectivity issues and ensure that Zabbix and Grafana can properly communicate.
    Thank you in advance for your help!
  • rocky_like
    Junior Member
    • Sep 2024
    • 2

    #2
    Hello, i'm facing the same problem, did you got solve this ?

    Comment

    • rocky_like
      Junior Member
      • Sep 2024
      • 2

      #3
      I just solved it, just put the URL as http://localhost/api_jsonrpc.php

      Comment

      • batara
        Junior Member
        • Aug 2024
        • 1

        #4
        Hi SMS Cruz,

        Are you able to connect your zabbix to your grafana as data sources? , I have the same issue
        trying to access by using bellow url, but can't work.

        http://10.108.139.202:8080/api_jsonrpc.php >>> Error Application error. Incorrect user name or password or account is temporarily blocked.
        http://10.108.139.202:8080/zabbix/api_jsonrpc.php >>> request failed, status: 404 Not Found
        http://localhost:8080/api_jsonrpc.php >>> Post "http://localhost:8080/api_jsonrpc.php": dial tcp [::1]:8080: connect: connection refused
        http://localhost:8080/zabbix/api_jsonrpc.php >>> Post "http://localhost:8080/zabbix/api_jsonrpc.php": dial tcp [::1]:8080: connect: connection refused

        please kindly help for this issue everyone

        Comment

        Working...