用yum 快速安装zabbix agent.
wget http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-agent-3.4.2-1.el7.x86_64.rpm (选择自己系统版本的相应版本下载)
rpm -ivh zabbix-agent-3.4.2-1.el7.x86_64.rpm service zabbix_agentd start (CentOS 7+:systemctl start zabbix-agent) chkconfig zabbix_agentd on
最后自得打开防火墙的tcp 10050端口,并修改/etc/zabbix-agent.conf
添加相应的服务器IP即可