Skip to content

Script Execution

Script execution is used to run scripts or commands in batches on onboarded hosts.

Usage Steps

  1. Go to "Operations Management - Script Execution"
  2. Select target hosts (only onboarded hosts are selectable)
  3. Select the script source:
  4. Temporary script: Enter the script content directly
  5. Script repository: Select a script that has been entered from the script repository
  6. Select the execution user
  7. 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"