grafana添加zabbix数据源


一,安装grafana

 

vim /etc/yum.repos.d/grafana.repo

[grafana]
name=grafana
baseurl=https://mirrors.tuna.tsinghua.edu.cn/grafana/yum/rpm
repo_gpgcheck=0
enabled=1
gpgcheck=0
  

 

sudo yum makecache

 

 

sudo yum install grafana

 

 

 

 

 

 

 

二,安装zabbix插件(https://grafana.com/grafana/plugins/alexanderzobnin-zabbix-app/installation

cd  /var/lib/grafana/plugins
grafana-cli plugins install alexanderzobnin-zabbix-app

其他参考命令:
grafana-cli plugins list-remote 获取可用插件的列表

 

三,配置

 

启用zabbix插件

 

 

 

 

 

 

 

 

 

 

 

 

 

 

http://10.10.128.19/api_jsonrpc.php

 

 

如下图,表示添加成功!

 

 

重置密码:

#grafana-cli admin reset-admin-password newpassword


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM