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

启动即可

 

相关文章:

  • 2021-08-16
  • 2022-01-07
  • 2022-12-23
  • 2021-12-03
  • 2022-01-12
猜你喜欢
  • 2022-12-23
  • 2022-03-01
  • 2021-07-05
  • 2021-06-04
  • 2022-12-23
  • 2021-08-02
相关资源
相似解决方案