Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and configure the Graphtree plug-in in Zabbix

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Zabbix-Network-Weathermap and Graphtree for Zabbix are plug-ins for Zabbix Share labeled version 3.0.x of Popular:

Graphtree project address: https://github.com/OneOaaS/graphtrees

I installed it directly on zabbix4.4, so there's nothing wrong with the new version. The key may be to see if Zabbix API has changed.

Main function: to put it simply, you can focus on displaying a class or group of pictures. It can be used after installation, and it is very convenient without setting it up.

Installation steps

Installed on the same server as zabbix-web:

# installation kit $yum install patch # switch to the directory where you are going to deploy $cd / usr/share/zabbix # download the plug-in $wget https://raw.githubusercontent.com/OneOaaS/graphtrees/master/graphtree3.2.x.patch # unzip it in the current path and deploy $patch-Np0

< graphtree3.2.x.patch # 将文件夹权限的属主和属组改为web应用的账号 $ chown -R apache:apache oneoaas 然后还要去修改一下apache的配置文件(实际貌似不需要): #vi /etc/httpd/conf.d/zabbix.conf Alias /oneoaas /usr/share/zabbix/oneoaas Alias /zabbix /user/share/zabbix 加上上面第一行的配置,第二行是原本就有的配置。 这个实际用下来发现不用改。项目访问的url是 127.0.0.1/zabbix/oneoaas 。这个地址可以直接通过 Alias /zabbix 就访问到了。 而 Alias /oneoaas 这条配置加上之后,是可以通过 127.0.0.1/oneoaas 来访问项目。实际不是通过这个url来访问的。所以这个apache的配置不用加。 不用重启 无论是项目的部署,还是apache配置的修改,都不用重启任何服务,直接就生效了。 卸载插件 使用patch的好处是,如果需要卸载,可以使用 -R --reverse 选项,就把之前创建的文件给清理掉,并且把修改的文件恢复回来(修改文件会创建一个备份,此时就是把新文件给清理掉,把备份文件的名字改回来): $ patch -Rp0 < graphtree3.2.x.patch效果展示 安装完成后,无需重启,马上就生效了。登录zabbix主页查看,菜单上多了一个Graphtree:

After entering the project, you can automatically get the information of the host and host group, in the upper left corner:

Click on the host group to view the images of all host groups.

Click on the host to view all the images on the host.

Check the host to be displayed, and enter the keywords to be searched in the search box to filter the images you need to display:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report