WGCLOUD issued a command prompt: the agent has been prohibited from executing the issued command

Just modify the configuration file agent/config/application.properties, change the configuration item shellToRun to yes, and then restart the agent

#是否允许agent执行server下发的指令,yes是,no否
shellToRun=yes

This is because the WGCLOUD monitoring platform disables the agent to execute the instruction function by default. This is also a small protection mechanism. You only need to change no to yes.

Don't forget to restart the agent, it will take effect after restarting

Guess you like

Origin blog.csdn.net/jiangnanfengyue/article/details/126094070