Install Grafana
wget https://dl.grafana.com/oss/release/grafana-7.2.0-1.x86_64.rpm
sudo yum install grafana-7.2.0-1.x86_64.rpm
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server
Buka di dashboardnya di grafana http://172.16.0.174:3000
Install Plugin Zabbix di Grafana
grafana-cli plugins install alexanderzobnin-zabbix-app
systemctl restart grafana-server
Pergi ke dashboard - configuration - plugins Cari Zabbix - pilih tab Config - Enable Tambah Data Source -
Zabbix tidak tampil pada saat tambah Data Source (Issue disini dan disini)
Solusi! Edit file /etc/grafana/grafana.ini
tambahkan nama plugin
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
Restart service grafana
systemctl restart grafana-server.service
Tambah Data Source
Mysql Zabbix (Sumber dari Grafana Zabbix Documentation)
Hostname = localhost:3306
User = zabbix
Password = Passw0rd
Zabbix (Sumber dari Grafana Zabbix Documentation)
URL = 172.16.0.174/zabbix/api_jsonrpc.php
Zabbix API Details
Username = Admin
Password = zabbix
Enable Direct DB Connection -> Pilih DB Mysql Zabbix
Sumber :
- https://grafana.com/grafana/download
- https://grafana.com/docs/grafana/latest/installation/rpm/#2-start-the-server
- https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app
- https://alexanderzobnin.github.io/grafana-zabbix/configuration/
- https://alexanderzobnin.github.io/grafana-zabbix/guides/gettingstarted/