#rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
#yum install zabbix-agent
修改配置参数,指向zabbix-server ip
# vim /etc/zabbix/zabbix_agentd.conf
# Mandatory: no
# Default:
# Server=
#Server=127.0.0.1
Server=192.168.15.31
### Option: ListenPort
# Agent will listen on this port for connections from the server.
#
# Mandatory: no
# Range: 1024-32767
启动
#systemctl start zabbix-agent
在zabbix-server创建主机,ip指向zabbix-agent