centos(6和7)安装zabbix3.0客户端

安装zabbix3.0客户端

安装配置zabbix客户端centos6.9

#安装

rpm -ivh https://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/6/x86_64/zabbix-agent-3.0.19-1.el6.x86_64.rpm

#配置

sed -i.ori 's#Server=127.0.0.1#Server=zabbix服务的端的地址#' /etc/zabbix/zabbix_agentd.conf

# sed -i.ori 's#Server=127.0.0.1#Server=172.16.1.200#' /etc/zabbix/zabbix_agentd.conf

#启动

/etc/init.d/zabbix-agent start

安装并配置zabbix客户端centos7

#安装zabbix源、aliyu nYUM

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo

rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm

#安装zabbix客户端

yum install zabbix-agent -y

#配置

sed -i.ori 's#Server=127.0.0.1#Server=zabbix服务的端的地址#' /etc/zabbix/zabbix_agentd.conf

# sed -i.ori 's#Server=127.0.0.1#Server=172.16.1.200#' /etc/zabbix/zabbix_agentd.conf

#启动

systemctl start  zabbix-agent.service

猜你喜欢

转载自blog.51cto.com/13673885/2294337