原文:https://www.qstack.com.cn/archives/505.html
# vim /etc/zabbix/zabbix_agentd.conf 添加
EnableRemoteCommands=1
AllowRoot=1
systemctl restart zabbix-agent.service
# vim /etc/zabbix/zabbix_agentd.conf 添加
EnableRemoteCommands=1
AllowRoot=1
systemctl restart zabbix-agent.service