通过yum方式安装的zabbix
1.将/usr/share/zabbix目录修改权限,因此处我们使用的是apache,所以用户改为apache,如果是nginx需要改为nginx(是否需要修改可以参考apache:/etc/httpd/conf/http.conf中的user配置,nginx:/etc/nginx/nginx.conf的user用户)
chown -R apache.apache /usr/share/zabbix
systemctl restart httpd


2.下载补丁并升级
cd /usr/share/zabbix
ZBXVERSION=3.0.4
# 获取补丁包
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.0.4.patch
yum install -y patch
patch  -Np0 <graphtree3.0.4.patch
chown -R apache.apache oneoaas
#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/

打开dashboard即可看到graphtree界面

zabbix3.0.4安装趋势图集中显示插件graphtrees

zabbix3.0.4安装趋势图集中显示插件graphtrees

 

相关文章:

  • 2021-05-09
  • 2021-10-28
  • 2022-01-29
  • 2021-07-04
  • 2021-05-07
  • 2021-08-04
  • 2021-10-06
  • 2021-06-01
猜你喜欢
  • 2021-12-18
  • 2022-02-21
  • 2021-05-25
  • 2022-12-23
  • 2021-07-13
  • 2021-07-29
相关资源
相似解决方案