Zabbix想要集中展示图像,唯一的选择是screen,后来zatree解决了screen的问题,但性能不够好。
Graphtree 由OneOaaS开发并开源出来,用来解决Zabbix的图形展示问题,性能较好。目前支持3.2.x以上的zabbix版本。
Graphtreed的功能如下:
集中展示所有分组设备
集中展示一个分组图像
集中展示一个设备图像
展示设备下的Application
展示每个Application下的图像
展示每个Application下的日志
对原生无图的监控项进行绘图
github地址:https://github.com/oneoaas/graphtrees
#进入目录
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 apache:apache oneoaas/
#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/
#编辑apache
vi
/etc/httpd/conf
.d
/zabbix
.conf
Alias
/oneoaas
/usr/share/zabbix/oneoaas
Alias
/zabbix
/user/share/zabbix
#重启服务
systemctl restart httpd
systemctl restart zabbix-server
|
#查看服务
[root@localhost zabbix]
# netstat -lnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN
tcp6 0 0 :::80 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:25 :::* LISTEN
tcp6 0 0 :::10050 :::* LISTEN
tcp6 0 0 :::10051 :::* LISTEN
|
#在zabbix下查看Graphtree插件效果
#查看效果
本文出自https://www.cnblogs.com/nulige/articles/7808464.html
参考zabbix3.2安装graphtree3.0.4
https://blog.csdn.net/xiegh2014/article/details/73385239
转载于:https://blog.51cto.com/lookingdream/2114978