1、安装zabbix-agent服务
[root@localhost~]# wget
[root@localhost~]# yum clean all
[root@localhost~]# rpm -ivh zabbix-release-3.0-1.el7.noarch.rpm
2、修改/etc/zabbix/zabbix_agent.conf参数
[root@localhost~]# grep ^[a-Z] /etc/zabbix/zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
Server=10.16.3.252 //zabbix服务器的IP
ServerActive=10.16.3.252 //zabbix服务器的IP
Hostname=10.15.3.250 //被监控端的IP,即本机的IP
Include=/etc/zabbix/zabbix_agentd.d/
3、开启服务
[root@localhost~]# systemctl zabbix-agent start