datastore_investigation_bundle
Investigate a single datastore by correlating its capacity, host mounts, VM data, alarms, and recent events to identify storage issues. Use after storage pressure alerts.
Instructions
[READ] "What is happening around this datastore?" — one correlated drill-down.
Collects and correlates everything around a single datastore: its capacity / free space / accessibility, the hosts that mount it, a rollup of the VMs it backs (total / powered-on + a sample), triggered alarms across datastore/host, and a merged event timeline correlating recent events from the datastore and its hosts. All reads are batched. Aggregation happens in the tool; explain it in operational language, do not dump it raw. (Per-datastore latency is a separate perf report, not included here.)
Use this AFTER cluster_health_summary flags storage pressure, or when the operator asks "what's going on with datastore ?". Point-in-time snapshot — no trending.
Args: datastore_name: Exact datastore name. Unknown names return a teaching error. Get the name from list_all_datastores or datastore_capacity first. target: Optional vCenter/ESXi target name from config (default if omitted). hours: Event-timeline look-back window in hours (default 24).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| target | No | ||
| datastore_name | Yes |