1、更改agentd配置文件
EnableRemoteCommands=1 #允许执行命令
2、更改sudo配置文件,使zabbix用户sudo不需要输入密码
zabbix ALL=(ALL) NOPASSWD:ALL
3、