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 <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

修改图形展示形式

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

去掉广告

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

替换logo

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

posted @ 2020-01-12 18:45  星海呀  阅读(871)  评论(0编辑  收藏  举报