zabbix远程执行脚本
1。
vim /etc/zabbix/zabbix-agent.conf
/opt/zabbix/conf/zabbix_agentd.conf
AllowRoot=1
EnableRemoteCommands=1
2.
systemctl restart zabbix-agent.service
/opt/zabbix/sbin/zabbix_agentd -c /opt/zabbix/conf/zabbix_agentd.conf
1。
vim /etc/zabbix/zabbix-agent.conf
/opt/zabbix/conf/zabbix_agentd.conf
AllowRoot=1
EnableRemoteCommands=1
2.
systemctl restart zabbix-agent.service
/opt/zabbix/sbin/zabbix_agentd -c /opt/zabbix/conf/zabbix_agentd.conf