Pcornel
Virtualization · Monitoring

Alerts

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

Back to the Topic

Answer

Virtualization alerts notify on conditions such as host down, HA failover, datastore almost full, high CPU ready, memory swapping, snapshot age and certificate expiry. Tune thresholds and duration to avoid noise.

Remember

  • Alert on symptoms users feel.
  • Use duration to avoid flapping.
  • Every alert needs an action.

First checks

  • amtool alert query — active alerts
  • Get-ClusterLog / event subscriptions — Windows events
  • pvesh get /cluster/notifications — Proxmox notifications

Verify in this order

metric/event → rule → notification → runbook

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=3672

Confirmation

Confirm action

Continue?