Zabbix安装第三方插件zatree2.4.5
1.下载zatree第三方插件https://github.com/spide4k/zatree.git
2.检查PHP环境需要支持php-xml、php-gd、php-mysql
3.先备份当前zabbix web目录并挪走,然后解压zatree-zabbix-2.4.5.tar.gz,然后修改以下两个文件
4. zabbix数据库拷贝源目录的conf/zabbix.conf.php到新目录覆盖字体fonts
5.支持web interface,修改配置文件 zatree/zabbix_config.php
'user'=>'xxx', //web登陆的用户名
'password'=>'xxx', //web登陆的密码
'http_user'=>'xxx', //httpsweb登陆的用户名
'http_password'=>'xxx', //httpsweb登陆的密码
6.删除图片
sudo vim ./zatree/graph.php
删除
<div align="center" style='font-size:12px;'>
<font size="5px" color="red">运维帮,一个技术分享订阅号,扫描我,给我们力量</font><br>
<font size="2px" color="red">编辑 zatree/graph.php 文件删除我</font><br>
<img src="static/yunweibang-weixin.jpg" /><br>
<a href="https://github.com/spide4k/zatree" target="_blank">Zatree</a> version 2.4 for Zabbix 2.4.x, 技术支持QQ群: 271659981, 微信订阅号:yunweibang
</div>
7.修改zatree标签的链接的错误

需要修改zatree目录下的三个文件 header.php

修改为:

修改echart.php

为:

修改peckvalue.php

为:

8、重启zabbix-server,完成。