Zabbix5.0安装步骤请参考这里;
https://blog.csdn.net/weixin_43713949/article/details/119455750?spm=1001.2014.3001.5501
一、安装grafana
1、安装grafana并设置为开机启动
[root@localhost ~]# wget https://dl.grafana.com/oss/release/grafana-7.0.3-1.x86_64.rpm
[root@localhost ~]# yum -y install grafana-7.0.3-1.x86_64.rpm
[root@localhost ~]# systemctl start grafana-server
[root@localhost ~]# systemctl enable grafana-server
2、http://serverIP:3000 访问grafana
系统默认用户名和密码为admin/admin,第一次登陆系统会要求修改密码,修改密码后登陆,界面显示如下:
二、安装zabbix集成插件
1、下载
使用迅雷下载
https://grafana.com/api/plugins/alexanderzobnin-zabbix-app/versions/3.11.0/download
2、复制安装到/var/lib/grafana/plugins目录,并解压
[root@localhost ~]# mv alexanderzobnin-grafana-zabbix-v3.11.0-1-g52f24ec.zip /var/lib/grafana/plugins
[root@localhost ~]# cd /var/lib/grafana/plugins/
[root@localhost plugins]# ls
alexanderzobnin-grafana-zabbix-v3.11.0-1-g52f24ec.zip
[root@localhost plugins]# unzip alexanderzobnin-grafana-zabbix-v3.11.0-1-g52f24ec.zip
3、重启grafana服务
[root@localhost ~]# systemctl restart grafana-server.service
三、启动zabbix插件
四、配置插件