zabbix + grafana 展示

环境CentOS 7.5

一,grafana 安装、

1,配置yum源

cat > /etc/yum.repos.d/grafana.repo <<EOF
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOF

2,安装grafana

yum reinstall openssl ca-certificates -y
yum install initscripts fontconfig
yum install grafana

3.运行

service grafana-server start
chkconfig --add grafana-server

4,安装zabbix插件

grafana-cli plugins install alexanderzobnin-zabbix-app

 

二,登录使用

http://x.x.x.x:3000(默认3000端口,默认账号密码admin admin)

 

 

 

 2,添加data source

 

 

 

 3,导入zabbix server 模板

模板地址:https://grafana.com/dashboards/4921

 

 选择data source

 

 

 

posted @ 2019-02-26 17:39  丿小贰灬  阅读(202)  评论(0编辑  收藏  举报