Zabbix 图像集中展示-Graphtrees

Zabbix图像集中展示-Graphtrees 

功能
一、集中展示所有分组设备
二、集中展示一个分组图像
三、集中展示一个设备图像
四、展示设备下的Application
五、展示每个Application下的图像
六、展示每个Application下的日志
七、对原生无图的监控项进行绘图
注意问题:
    在组和主机级别,默认只显示系统配置的graph
    点击application后,会显示3种数据:
    1. 系统默认有graph的;
    2. 系统默认无graph的;
    3. 日志类的

Function:
Zabbix graph tree  
Display all monitor things in one page.
1.All group graph 
2.One Application graph 
3.One group graph
4.One host graph
5.All Application one host
6.All Application log text 
7.draw graph if no exist graph in host if item type is Numeric 
Note:
   click group and host,display graph in host graph
   click Application,dispaly 3 types:
   1.default graph
   2.Draw graph for not exist graph(item type is Numeric)
   4.item tpye is Character\Log\Text


zabbix web version >=3.0.0
安装
注意:如果你用过3.0.1的patch,需要重新下载zabbix的源码包,请用第一种方法安装
How to Install:
1.if you have not installed zabbix web
wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/3.0.4/zabbix-3.0.4.tar.gz
tar xf zabbix-3.0.4.tar.gz
cd frontends/php
ZBXVERSION=3.0.4
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree${ZBXVERSION}.patch
#yum install -y patch
patch  -Np0 <graphtree${ZBXVERSION}.patch
chown -R ${WEB_USER} oneoaas
cd ../
mv php /usr/share/zabbix (Web root should be /usr/share/zabbix)
#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/

2.If you have already installed zabbix web RPM repo #从未使用过3.0.1的patch
cd /usr/share/zabbix
ZBXVERSION=3.0.4
#Update it sometimes.
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree${ZBXVERSION}.patch
yum install -y patch
patch  -Np0 <graphtree${ZBXVERSION}.patch
chown -R www:www oneoaas
#注意此处的权限,必须和nginx或者apache的用户一致,如用的是apache,则此处为chown -R apache:apache oneoaas/

3.Apache Issue +
#vim /etc/httpd/conf.d/zabbix.conf      
Alias /oneoaas /usr/share/zabbix/oneoaas        
Alias /zabbix /user/share/zabbix   
删除提示信息
sed -i '63,84d' /home/wwwroot/zabbix/oneoaas/templates/graphtree/graphtr

 

转载于:https://my.oschina.net/HeAlvin/blog/892472

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值