1.下载补丁并升级

cd /usr/share/zabbix

# 获取补丁包

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

yum install -y patch

patch  -Np0

chown -R nginx:nginx oneoaas

#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/

如果是nginx,则此处为chown -R nginx:nginx oneoaas/

打开dashboard即可看到graphtree界面

zabbix3.2.3安装趋势图集中显示插件graphtrees_第1张图片

2、删除3.0.4广告信息:

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

zabbix3.2.3安装趋势图集中显示插件graphtrees_第2张图片

删除60-81行广告

60 id="footer" class="footer navbar-inverse">

 61     "container">

 62         

     63             "qrcode">

     64                 "../oneoaas/assets/img/qrcode.jpg">

     65                 

    专业 合作 开放 

     66                 

    运维方案解决专家

     67             

     68             "business">

     69                 

    Zabbix监控项目承接

     70                 

    运维解决方案咨询

     71                 

    运维产品咨询

     72                 

    "http://www.oneoaas.com">www.oneoaas.com

     73                 

    请联系 support#oneoaas.com (#替换为@)

     74             

     75             

  •  76                 

    "http://weibo.com/itnihao" target="_blank" rel="noopener noreferrer">@itnihao

     77                 

    "http://weibo.com/hell0wor1d" target="_blank" rel="noopener noreferrer">@hell0wor1d

     78             

  •  79         

 80     

81