Zabbix的分布式监控部署
一、Zabbix的分布式监控拓扑
二、Zabbix proxy 介绍
概述:Zabbix proxy 可以代替 Zabbix server 收集性能和可用性数据,承担一些收集数据的负担,分担了 Zabbix server 的负荷。
此外,使用proxy是实现集中式和分布式监控的最简单方法,所有 agents 和 proxies 发送给一个 Zabbix server,从而集中收集所有数据。
Zabbix proxy 使用场景:
1.监控远程区域设备
2.监控本地网络不稳定区域
3.监控上千设备时,减轻 zabbix server 的负荷
4.简化分布式监控的维护
三、部署分布式Zabbix proxy
1.环境准备
2.安装Zabbix proxy和数据库及相关软件包
[root@node2 yum.repos.d]# yum -y install https://repo.huaweicloud.com/zabbix/non-supported/rhel/8/x86_64/fping-3.16-1.el8.x86_64.rpm
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Repository AppStream is listed more than once in the configuration
Repository BaseOS is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository BaseOS is listed more than once in the configuration
AppStream 0.0 B/s | 0 B 00:00
BaseOS 0.0 B/s | 0 B 00:00
ansiable 0.0 B/s | 0 B 00:00
Failed to synchronize cache for repo 'AppStream', ignoring this repo.
Failed to synchronize cache for repo 'BaseOS', ignoring this repo.
Failed to synchronize cache for repo 'ansiable', ignoring this repo.
Last metadata expiration check: 0:12:16 ago on Wed 02 Jun 2021 11:49:59 PM CST.
fping-3.16-1.el8.x86_64.rpm 48 kB/s | 51 kB 00:01
Dependencies resolved.
==========================================================================================================================================
Package Arch Version Repository Size
========================================================