参考连接:https://www.zabbix.com/documentation/5.0/
Zabbix 是一种企业级的分布式开源监控解决方案,能够监控众多网络参数和服务器的健康度和完整性的软件。
Zabbix支持源代码安装和二进制包安装,我主要踩坑了二进制包安装。
系统:CentOS 7.9
软件版本:Zabbix 5.0LTS
数据库:MySQL
WEB Server: Apache
安装步骤:
1. 安装仓库
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
2. 安装Zabbix Server和Agent
yum install zabbix-server-mysql zabbix-agent
3. 安装Fronted
这步比较麻烦,centOS7 默认支持php5,而Zabbix需要php7.2+
yum install yum-utils
yum-config-manager --enable rhel-server-rhscl-7-rpms
yum install centos-release-scl
yum list rh-php7\*
然后编辑 /etc/yum.repos.d/zabbix.repo<