首页 > 其他 > 详细

zabbix3.0 agent安装配置

时间:2019-04-26 20:21:27      阅读:78      评论:0      收藏:0      [点我收藏+]


zabbix3.0 agent安装配置
wget http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-agent-3.0.0-2.el6.x86_64.rpm

yum -y install zabbix-agent-3.0.0-2.el6.x86_64.rpm

sed -i ‘s/Server=127.0.0.1/Server=10.0.1.182/‘ /etc/zabbix/zabbix_agentd.conf
sed -i ‘s/ServerActive=127.0.0.1/ServerActive=10.0.1.250:10051/‘ /etc/zabbix/zabbix_agentd.conf

grep "10.0.1.250" /etc/zabbix/zabbix_agentd.conf
grep "10.0.1.250:10051" /etc/zabbix/zabbix_agentd.conf

service zabbix-agent restart

chkconfig --level 2345 zabbix-agent on

netstat -anpt |grep 10050

service iptables status

######################下面是10050端口占用了操作
sed -i ‘s/# ListenPort=10050/ListenPort=10052/‘ /etc/zabbix/zabbix_agentd.conf
grep "10052" /etc/zabbix/zabbix_agentd.conf
service zabbix-agent restart
netstat -anpt |grep 10052

 

zabbix3.0 agent安装配置

原文:https://www.cnblogs.com/capable/p/10776301.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!