zabbix 官网 Zabbix :: The Enterprise-Class Open Source Network Monitoring SolutionZabbix is a mature and effortless enterprise-class open source monitoring solution for network monitoring and application monitoring of millions of metrics.https://www.zabbix.com/ zabbix监控主要安装分为三大块:
zabbix-server 服务端 (数据收集展示)
zabbix-agent 客户端 (数据收集上报到服务端)
mysql 存放收集的信息和展示的模板
环境准备::
两台虚拟机:
1台: zabbix-zerver mysql
1台: zabbix-agent
更改主机名称分别是zabbix-server 和zabbix-agent:
hostnamectl set-hostname zabbix-server
hostnamectl set-hostname zabbix-agent
安装zabbix-server
环境安装
yum -y install vim lsof
yum -y install wget curl
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.Install Zabbix proxy
yum install zabbix-server-mysql zabbix-agent -y
yum install centos-release-scl -y