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

通过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

上一篇:JUnit【1】断言用法之assertEquals/True/False/ArrayEquals


下一篇:如何使用TestFlight进行Beta测试