Script Execution¶
Script execution is used to run scripts or commands in batches on onboarded hosts.
Usage Steps¶
- Go to "Operations Management - Script Execution"
- Select target hosts (only onboarded hosts are selectable)
- Select the script source:
- Temporary script: Enter the script content directly
- Script repository: Select a script that has been entered from the script repository
- Select the execution user
- Click "Execute"
Supported Languages¶
| Language | Description |
|---|---|
| Shell | Linux default |
| Python | |
| PowerShell | Windows hosts |
| BAT | Windows hosts |
Execution Results¶
After execution, you can view:
- Overall status (success / failure / in progress)
- The output and results of each host
- Task ID (used to track in task history)
Execution Engine¶
Script execution is automatically routed based on the host management method:
- SSH host → Ansible
- SaltStack host → SaltStack
- OpsMini host → OpsMini Server (gRPC)
Tips¶
- During batch execution, results are displayed one by one by host
- The task ID is used to view detailed output in "Task History"