Pcornel
Virtualization · Monitoring

Capacity Monitoring

Cheat sheet · https://pcornel.dk/topic.php?topic=3673

Back to the Topic

Answer

Capacity monitoring tracks cluster utilization and trends for CPU, memory, storage and network against failover reserves, showing remaining VM slots and when the platform will need more hardware.

Remember

  • Remaining capacity must exclude failover reserve.
  • Trends beat snapshots.
  • Storage often runs out first.

First checks

  • pvesh get /cluster/resources — usage snapshot
  • Get-VMHost | measure MemoryCapacity -Sum — capacity totals
  • Prometheus predict_linear on datastore free — forecast

Verify in this order

usage trend → forecast → plan

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3673

Confirmation

Confirm action

Continue?