zabbix笔记之Graphtree配置

zabbix+Graphtree整合zabbix图形

下载软件

cd /usr/share/zabbix/
wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.0.4.patch

安装补丁

yum install -y patch
patch -Np0 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

修改图形展示形式

vi /usr/share/zabbix/oneoaas/graphtree.php

zabbix笔记之Graphtree配置_第1张图片

去掉广告

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

zabbix笔记之Graphtree配置_第2张图片

zabbix笔记之Graphtree配置_第3张图片

替换logo

cd /usr/share/zabbix/oneoaas/assets/img/

你可能感兴趣的:(zabbix笔记之Graphtree配置)