安装zabbix

参考: zabbix3.0.4安装

添加Graphtrees

[root@mha-master zabbix]cd /data/wwwroot/default/zabbix    
[root@mha-master zabbix] wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.0.4.patch
[root@mha-master zabbix] patch  -Np0 <graphtree3.0.4.patch
[root@LinuxEA local]# chown -R www:www oneoaas

访问登录

访问zabbix的graphs
zabbix3.4添加Graphtrees3.0.4

修改logo和广告

   [root@mha-master graphtree]# pwd
   /data/wwwroot/default/zabbix/oneoaas/templates/graphtree

找到修改位置

[root@mha-master graphtree]# vim graphtree.tpl

     67                 <img src="../oneoaas/assets/img/qrcode.jpg">
     68                 <p>hanye 小code </p>
     69                 <p>zabbix监控文件目录显示</p>
     70             </li>
     71             <li class="business">
     72                 <p>Zabbix监控项目承接</p>
     73                 <p>运维解决方案</p>
     74                 <p>运维产品</p>
     75                 <p><a href="http://zz.1fangxin.net">www.hanye.com</a></p>
     76                 <p>请联系 hz7726@163com</p>
     77             </li>
     78             <li>
     79                 <p><a href="http://zhengzhou.1fangxin.com" target="_blank" rel="noopener noreferrer">hz7726</a></p>
     80                 <p><a href="http://zz.1fangxin.net" target="_blank" rel="noopener noreferrer">hanye</a></p>
     81             </li>