码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2017-06-19 17:03:08      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:zabbix graphtrees


1.下载补丁并升级

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 nginx:nginx oneoaas

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

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

打开dashboard即可看到graphtree界面

技术分享技术分享

技术分享

2、删除3.0.4广告信息:

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

技术分享

删除60-81行广告

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

 61     <div class="container">

 62         <ul>

 63             <li class="qrcode">

 64                 <img src="../oneoaas/assets/img/qrcode.jpg">

 65                 <p>专业 合作 开放 </p>

 66                 <p>运维方案解决专家</p>

 67             </li>

 68             <li class="business">

 69                 <p>Zabbix监控项目承接</p>

 70                 <p>运维解决方案咨询</p>

 71                 <p>运维产品咨询</p>

 72                 <p><a href="http://www.oneoaas.com">www.oneoaas.com</a></p>

 73                 <p>请联系 support#oneoaas.com (#替换为@)

 74             </li>

 75             <li>

 76                 <p><a href="http://weibo.com/itnihao" target="_blank" rel="noopener noreferrer">@itnihao</a></p>

 77                 <p><a href="http://weibo.com/hell0wor1d" target="_blank" rel="noopener noreferrer">@hell0wor1d</a></p>

 78             </li>

 79         </ul>

 80     </div>

81 </footer>


本文出自 “joy1991” 博客,请务必保留此出处http://joy1991.blog.51cto.com/8359406/1939836

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

标签:zabbix graphtrees

原文地址:http://joy1991.blog.51cto.com/8359406/1939836

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!