agentd端可以直接使用yum来进行安装

rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
yum -y install zabbix-agent.x86_64
rm -rf /etc/zabbix/zabbix_agentd.conf
Server="192.168.189.201"
Hostname=`hostname`
cat >> /etc/zabbix/zabbix_agentd.conf << EOF
Server=$Server
ServerActive=$Server
Hostname=$Hostname
LogFile=/tmp/zabbix_agentd.log
EOF
/etc/init.d/zabbix-agent start

启动即可

 

posted on 2016-01-26 11:23  懒睡的猫熊  阅读(1876)  评论(2编辑  收藏  举报