zabbix3.4安装graphtrees补丁

时间:2022-02-18 14:05:31

1、插件安装

Zabbix-web目录
提示:如果是yum安装并且是centos7目录会在/usr/share/zabbix,也可以使用find进行查找,目录不对的话patch安装不上,会提示指定目录

/usr/share/zabbix   
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.2.x.patch
yum install -y patch
patch -Np0 < graphtree3.2.x.patch

注意此处的权限,权限不对打开网页是空白的,必须和nginx或者apache的用户一致,我用的是apache

chown -R apache:apache oneoaas
#vim /etc/httpd/conf.d/zabbix.conf 
Alias /oneoaas /usr/share/zabbix/oneoaas     
Alias /zabbix /user/share/zabbix

2、Graphtree效果图

zabbix3.4安装graphtrees补丁

zabbix3.4安装graphtrees补丁