
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl stop zabbix-agent
systemctl disable zabbix-agent
yum remove zabbix-agent -y
rpm -ivh http://bzz.wallizard.com:8081/share/LINUX/zabbix-agent2-5.4.9-1.el7.x86_64.rpm
rpm -ivh http://bzz.wallizard.com:8081/share/LINUX/zabbix-get-5.4.9-1.el7.x86_64.rpm
yum install -y fping OpenIPMI unixODBC
rpm -ivh http://bzz.wallizard.com:8081/share/LINUX/zabbix-proxy-mysql-5.4.9-1.el7.x86_64.rpm
systemctl enable zabbix-agent2
#vim /etc/zabbix/zabbix_agent2.conf
wget http://bzz.wallizard.com:8081/share/LINUX/zabbix_agent2-local.conf -O zabbix_agent2.conf
cp zabbix_agent2.conf /etc/zabbix/zabbix_agent2.conf
systemctl start zabbix-agent2

sleep 2
ps -eaf | grep zabbix-agent2

#