1. 程式人生 > >快速安裝配置zabbix_agent端

快速安裝配置zabbix_agent端

force .com 安裝配置 emctl stop rest 新版本 安裝 sender

準備前提:
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配置文件
技術分享圖片
四.啟動zabbxi-agent並設置開機啟動
systemctl enable zabbix-agent && systemctl restart zabbix-agent
五.在zabbix server web GUI添加該主機
技術分享圖片
技術分享圖片
這樣就可以把一臺主機添加為agent端了!

快速安裝配置zabbix_agent端