1、安装zabbix-agent
rpm -ivh https://mirror.tuna.tsinghua.edu.cn/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-agent-5.0.2-1.el7.x86_64.rpm
2、配置zabbix-agent
vim /etc/zabbix/zabbix_agentd.conf
Server=192.168.10.101 //改为zabbit-server地址
3、启动zabbix-agent
systemctl start zabbix-agent
systemctl enable zabbix-agent
4、zabbix-web界面,添加主机