### 部署Grafana 连接zabbix-server 端
上传Grafana源
[root@192 ~]# cd /etc/yum.repos.d/
[root@192 yum.repos.d]# cat grafana.repo
[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm-beta
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
开机自启 并启动
[root@192 ~]# systemctl enable grafana-server
Created symlink from /etc/systemd/system/multi-user.target.wants/grafana-server.service to /usr/lib/systemd/system/grafana-server.service.
[root@192 ~]# systemctl start grafana-server
[root@192 ~]# netstat -nltpu |grep 3000
tcp6 0 0 :::3000 :::* LISTEN 20223/grafana-serve
下载zabbix插件
grafana-cli plugins install alexanderzobnin-zabbix-app
重启grafana
[root@192 ~]# service grafana-server restart
Restarting grafana-server (via systemctl): [ 确定 ]






在home中即可查得新建的仪表盘

保存即可
本文详细介绍了如何在Linux环境下配置Grafana以连接Zabbix-server,包括安装Grafana,配置YUM源,下载插件,以及重启服务等步骤,使读者能够顺利实现监控数据的可视化展示。
481

被折叠的 条评论
为什么被折叠?



