zabbix 添加图行树

1.安装graphtree

cd /usr/share/zabbix

wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.2.x.patch 

2.导入补丁包

yum install -y patch

patch -Np0 < graphtree3.2.x.patch

chown -R apache.apache oneoaas

 

3.修改Apache配置文件

#vim /etc/httpd/conf.d/zabbix.conf    

Alias /oneoaas /usr/share/zabbix/oneoaas     

Alias /zabbix /user/share/zabbix  

 vi /usr/share/zabbix/oneoaas/templates/graphtree/graphtree.tpl

vi /usr/share/zabbix/oneoaas/graphtree.php #去除广告配置文件

4.重启httpd服务

systemctl restart httpd
---------------------
版权声明:本文为CSDN博主「ljc.」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_42331537/article/details/85298764

posted @ 2019-08-13 16:42  菜鸟web  阅读(399)  评论(0编辑  收藏  举报