datastore_investigation_bundle
Investigate datastore health in one drill-down: capacity, free space, accessibility, hosts, VMs, alarms, and events when storage pressure is flagged.
Instructions
[READ] "What is happening around this datastore?" — one correlated drill-down.
Use this instead of stitching list_all_datastores + datastore_capacity + get_alarms + get_events yourself. Returns one correlated bundle (not the list envelope): capacity / free space / accessibility, the hosts that mount it, a rollup of the VMs it backs, alarms across datastore/host, and a merged event timeline. All reads are batched. Explain it in operational language; do not dump it raw. Per-datastore latency is not included.
Reach for it after cluster_health_summary flags storage pressure. Point-in-time snapshot — no trending. Freeing space (deleting snapshots, storage vMotion) belongs to vmware-aiops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | Event-timeline look-back window in hours (default 24). | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| datastore_name | Yes | Exact datastore name; unknown names return a teaching error. Get it from list_all_datastores or datastore_capacity first. |