Zabbix实战-2
安装Zabbix-agent环境 1 初始化环境 #192.168.0.161 setenforce 0 systemctl stop firewalld systemctl enable firewalld 2 部署 Zabbix Agent CentOS7.x操作系统安装: rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm yum install zabbix-agent -y CentOS6.x操作系统安装: rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/6/x86_64/zabbix-release-4.0-2.el7.noarch.rpm yum install zabbix-agent -y 修改配置文件: # egrep -v "^#|^$" /etc/zabbix/zabbix_agentd.conf PidFile=/var/run/zabbix/zabbix_agentd.pid LogFile=/var/log/zabbix/zabbix_agentd.log LogFileSize=0 DebugLevel=3 Server=192.168.0.160