cluster_health_summary
Get an at-a-glance health summary for every cluster, scoring CPU, memory, VM power state, and alarms as ok/warn/critical and ranking top issues for quick triage.
Instructions
[READ] One-glance health rollup for every cluster — "is anything on fire?".
Start here for single-vCenter triage. Batches hosts, VM power state, live
CPU/memory pressure and alarms per cluster, scores each "ok"/"warn"/
"critical", and ranks the anomalies into top_issues. Use this instead of
stitching list_all_clusters + list_esxi_hosts + get_alarms yourself.
Returns {totals, top_issues, issues_total, clusters, snapshot,
customization_hint} — not the list envelope. Lead with top_issues (worst
first), show clusters as context, always echo customization_hint last.
Point-in-time — no trending. top_issues includes datastores thin-provisioned
past 100% of capacity (kind capacity, scope datastore), attributed to the
cluster of a host that mounts them; datastore_capacity has the full table.
Alarm issues carry condition_now and acknowledged_days. Only a
cleared alarm (its condition is read to be false now) ranks after live
issues; an unknown one is not re-checked and keeps its severity rank,
however long ago it was acknowledged — report it as possibly still live.
Then drill into what top_issues names with vm_investigation_bundle,
host_investigation_bundle or datastore_investigation_bundle; use
cross_vcenter_attention to cover every target at once. Acting on a finding
belongs to vmware-aiops.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Cap ``top_issues`` (default 10; 0 omits it). ``issues_total`` is the pre-cap count. | |
| target | No | vCenter/ESXi target from config (default if omitted). | |
| include_vms | No | Roll up VM counts (default True); False skips that pass. | |
| cluster_filter | No | Case-insensitive substring; only matching clusters show (None = all, plus a standalone-hosts row). |