active_tasks
Check active and recent vCenter tasks to see what is consuming cluster resources. Spot migrations, clones, or failed operations with progress, user, and errors before troubleshooting host performance.
Instructions
[READ] In-flight (and optionally just-completed) vCenter tasks.
Answers "why is the cluster busy?". Returns the list envelope {items, returned,
limit, total, truncated, hint} with a real total; each row has name, entity,
state, progress_pct, start_time, user, an active flag and error (for failed
recent tasks), running/queued first. vCenter keeps only a short recent-task
window, so an old task may simply be gone rather than absent.
Use this before blaming load: a migration or clone in flight explains pressure that host_performance shows. Pair with active_sessions to see who started it. Read-only — cancelling a task belongs to vmware-aiops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max task rows to return (None = all). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| include_recent | No | Also include recently completed/failed tasks (default True). |