Ensure that your custom scripts can be executed on the managed system.
On the managed system, you have stored your custom scripts in the custom_scripts
folder.
In the SAP Solution Manager agent administration, you have adapted the commands.xml
configuration file.
You have the required authorization.
In the Root Cause Analysis
work center, choose Host Analysis
.
Select the host on which the managed system is installed.
Choose OS Command Console
.
You go to the OS Command Console
dialog box.
Under System
, select the managed system.
In the Group
field, select Custom Scripts
.
In the Command
field, select the script you want to execute. The names of the commands you can select from, correspond to the scripts stored in the custom_scripts
folder.
Choose Send Command
.
Under Result
, the execution log is displayed.
Verify the output generated by the script execution.