1.关闭防火墙

service iptables stop


2.更换源、安装zabbix-agent

rpm -ivh  http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm

yum install -y zabbix-agent


3.修改配置文件

vim /etc/zabbix/zabbix_agentd.conf

Server=192.168.8.228       server端ip

ServerActive=192.168.8.228   server端ip

Hostname=192.168.8.226     agent端ip


4.启动服务

/usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf


5.

wKiom1hY3FmSXG4RAAEfcpUp6tA603.png-wh_50


6.

wKiom1hchaGCVrZ6AACixcQ8jOM343.png-wh_50


7.

wKiom1hcheaCOVB-AAIg0UN8FN4317.png-wh_50