zoukankan      html  css  js  c++  java
  • zabbix3.2安装graphtree3.0.4

    下载graphtree3.0.4

    wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3-0-1.patch –P /usr/local/nginx/html/zabbix/

    安装patch:

    yum –y install patch

    进入zabbix web根目录:

    [root@zabbixserver ~]# cd /usr/local/nginx/html/zabbix/
    [root@zabbixserver zabbix]# patch -Np0 < graphtree3.0.4.patch  //导入graphtree
    patching file ./oneoaas/libs/sysplugins/smarty_internal_testinstall.php
    patching file ./oneoaas/libs/sysplugins/smarty_internal_undefined.php
    patching file ./oneoaas/libs/sysplugins/smarty_resource.php
    patching file ./oneoaas/libs/sysplugins/smarty_resource_custom.php
    patching file ./oneoaas/libs/sysplugins/smarty_resource_recompiled.php
    patching file ./oneoaas/libs/sysplugins/smarty_resource_uncompiled.php
    patching file ./oneoaas/libs/sysplugins/smarty_security.php
    patching file ./oneoaas/libs/sysplugins/smarty_template_cached.php
    patching file ./oneoaas/libs/sysplugins/smarty_template_compiled.php
    patching file ./oneoaas/libs/sysplugins/smarty_template_config.php
    patching file ./oneoaas/libs/sysplugins/smarty_template_resource_base.php
    patching file ./oneoaas/libs/sysplugins/smarty_template_source.php
    patching file ./oneoaas/libs/sysplugins/smarty_undefined_variable.php
    patching file ./oneoaas/libs/sysplugins/smarty_variable.php
    patching file ./oneoaas/libs/sysplugins/smartycompilerexception.php
    patching file ./oneoaas/libs/sysplugins/smartyexception.php
    patching file ./oneoaas/templates/graphtree/graphtree.tpl
    patching file ./oneoaas/templates/header.tpl

    [root@zabbixserver zabbix]# chown -R nginx.nginx oneoaas/   权限设置为nginx访问

    重启nginx:

    [root@zabbixserver zabbix]# service nginx restart
    Restarting nginx (via systemctl):                          [  OK  ]
    

    查看:

    image

    删除3.0.4广告信息:
     
    [root@zabbixserver zabbix]#cd /usr/local/nginx/html/zabbix/oneoaas/templates/graphtree
    [root@zabbixserver graphtree]# vim graphtree.tpl
    image

    删除63行下的广告信息即可.当然也可以通过编辑成自己的访问方式.

  • 相关阅读:
    IOS开发学习笔记020-练习总结
    IOS开发学习笔记019-动态创建控件
    IOS开发学习笔记018- 一般控件的使用
    IOS应用程序开发流程
    IOS开发学习笔记017-第一个IOS应用
    IOS开发学习笔记016-Foundation框架
    IOS开发学习笔记015-block和protocol
    IOS开发学习笔记014-ARC机制
    IOS开发学习笔记013-内存管理
    IOS开发学习笔记012-核心语法
  • 原文地址:https://www.cnblogs.com/ligao/p/6178974.html
Copyright © 2011-2022 走看看