vm_investigation_bundle
Correlate VM state, host, cluster, datastores, snapshots, alarms, performance, and event timeline in one drill-down to investigate a specific VM after a health alert.
Instructions
[READ] "What is happening around this VM?" — one correlated drill-down.
Correlates everything around one VM so you don't stitch it together yourself: the VM's state, its host, cluster context, backing datastores, snapshots, triggered alarms, live performance, and a merged event timeline across VM, host, cluster and datastores (newest first). Batched, cheap even on large fleets. Delegates to the vmware-monitor library (read-only). Explain the result in operational language; do not dump it raw.
Use this AFTER cluster_health_summary points at a problem VM. Point-in-time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Event-timeline look-back window in hours (default 24). | |
| target | No | Optional vCenter/ESXi target name from config (default if omitted). | |
| vm_name | Yes | Exact VM name. Unknown names return a teaching error (list VMs first). |