cd /usr/share/zabbix/ 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/
vi /etc/httpd/conf.d/zabbix.conf Alias /oneoaas /usr/share/zabbix/oneoaas Alias /zabbix /user/share/zabbix systemctl restart httpd #重启服务 systemctl restart zabbix-server
修改图形展示形式
vi /usr/share/zabbix/oneoaas/graphtree.php
vi /usr/share/zabbix/oneoaas/templates/graphtree/graphtree.tpl
cd /usr/share/zabbix/oneoaas/assets/img/
微信扫描下方的二维码阅读本文