top of page
Search

How to integrate Zabbix and Grafana

  • Writer: Puneeth K P
    Puneeth K P
  • Mar 29, 2022
  • 1 min read


Hi All, this document deals with how to integrate Zabbix and Grafana.

Grafana is one of the best visualizer, where user can create different kinds of diagrams based on the data. Here we are using Zabbix as the monitoring tool for monitoring servers and applications. Grafana supports many data sources like Zabbix, Prometheus, etc.

Prerequisites

* Running the Zabbix server * Running grafana server

Configuration

Step 1: Login to Grafana server and install Zabbix plugin

grafana-cli plugins install alexanderzobnin-zabbix-app

Step 2: Restart Grafana

service grafana-server restart

Step 3: Now login to Grafana Web interface, Goto configuration- Datasources- Select Zabbix. Now configure as follows Datasource name: Zabbix

URL: http://192.168.x.x/zabbix/api_jsonrpc.php

where 192.168.x.x is my Zabbix server IP address.

Zabbix API details

Username Password

Enter the username and password of the Zabbix server to fetch the Data using API call.

Zabbix version: Select the appropriate version of the Zabbix server.


You can connect DB of Zabbix for fetching data, this is optional.


Step 4: Now you can save and test the connection.

Step 5: Now you can import the Zabbix dashboard from Grafana repository. For this goto + and select import. Enter this code for dashboard 5363 and select the appropriate Zabbix data source. And import.



Step 6: Now to dashboard and see the nicely plotted graph fetching data from Zabbix.


 
 
 

Comments


Puneeth K P

  • Facebook Black Round
  • Twitter Black Round
bottom of page