Grafana7 - sivasmartins/Documentos GitHub Wiki

Debian 10

Pacotes Básicos

apt install gnupg2 apt-transport-https software-properties-common

Repositório

wget -q -O - https://packages.grafana.com/gpg.key | apt-key add -
echo "deb https://packages.grafana.com/oss/deb stable main" | tee -a /etc/apt/sources.list.d/grafana.list

Instalação

apt update
apt install grafana 

Confiugrações

vim /etc/grafana/grafana.ini # The http port to use ;http_port = 3000

Instalação de Plugins

grafana-cli plugins install alexanderzobnin-zabbix-app

Atualizando Plugins (quando necessário)

grafana-cli plugins update-all

Daemons

systemctl daemon-reload
systemctl enable grafana-server
systemctl start grafana-server

Acesso

http://IP:3000

Usuario: admin
Senha: admin

Integração Zabbix

Configuration –> Plugins
Localizar: zabbix
Enable

Configuration –> Data Sources
URL -> HTTP: http://IP_URL/zabbix/api_jsonrpc.php
Access:  Browser
Zabbix API details: usuario e senha do zabbix
Save & Test