天天看點

快速安裝配置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源

二.安裝zabbix agent

yum -y install zabbix-agent zabbix-sender

三.配置zabbix-agent配置檔案

快速安裝配置zabbix_agent端

四.啟動zabbxi-agent并設定開機啟動

systemctl enable zabbix-agent && systemctl start zabbix-agent

五.在zabbix server web GUI添加該主機

快速安裝配置zabbix_agent端
快速安裝配置zabbix_agent端

這樣就可以把一台主機添加為agent端了!

本文轉自Mr大表哥 部落格,原文連結:http://blog.51cto.com/zpf666/2069010     如需轉載請自行聯系原作者