安装Zabbix_agent
安装
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
yum install zabbix-agent
systemctl enable zabbix-agent
配置
vim /etc/zabbix/zabbix_agentd.conf
Server=Serverip,127.0.0.1
ServerActive=Serverip,127.0.0.1
Timeout=30
#写入
EnableRemoteCommands=1
重启
systemctl restart zabbix-agent