天高云淡 发表于 2019-1-18 11:12:03

快速安装配置zabbix_agent端

  准备前提:
OS:centos7.4
Zabbix version:3.4.6(2018/1/15日上线的新版本)
关闭防火墙:systemctl stop firewalld
防火墙开机不自启:systemctl disable firewalld
关闭selinux:
临时:setenforce 0
永久:
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
一切准备好后,重启系统!
一.安装zabbix的yum源
rpm -i http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm
二.安装zabbix agent
yum -y install zabbix-agent zabbix-sender
三.配置zabbix-agent配置文件
http://i2.运维网.com/images/blog/201802/05/e89ab98c7042fe8e123b00f449ca6986.png
四.启动zabbxi-agent并设置开机启动
systemctl enable zabbix-agent && systemctl start zabbix-agent
五.在zabbix server web GUI添加该主机
http://i2.运维网.com/images/blog/201802/05/d36dc983a6c3eb7f4dc5a50bb81f9f3f.png
http://i2.运维网.com/images/blog/201802/05/67b800a88aa6cbdf9626917c037d9184.png
这样就可以把一台主机添加为agent端了!



页: [1]
查看完整版本: 快速安装配置zabbix_agent端