Redhat7、CentOS7系统
rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/7/x86_64/zabbix-release-6.0-4.el7.noarch.rpm
yum clean all
yum install -y zabbix-agent2
yum install zabbix-agent2 zabbix-agent2-plugin-*
Redhat8、CentOS8系统
rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rhel/8/x86_64/zabbix-release-6.0-4.el8.noarch.rpm
yum clean all
yum install -y zabbix-agent2
yum install zabbix-agent2 zabbix-agent2-plugin-*
Redhat、CentOS系统配置一样
修改配置文件
vi /etc/zabbix/zabbix_agent2.conf
hostname=主机名
Server=zabbix Server服务器地址
:wq
配置开机启动
systemctl enable --now zabbix-agent2
systemctl status zabbix-agent2
Windows系统
软件下载地址
安装时配置信息如下
重启进程
net stop zabbix-agent2
net start zabbix-agent2