Use this when defining or tuning alerts for hosts, clusters and VMs.
Alerts
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.
1. Alert on actionable symptoms: host down, quorum risk, datastore full, latency high, backup failed.
2. Route to owners.
3. Runbooks for each.
4. Avoid alert storms.
5. Test alerts.
metric/event → rule → notification → runbook
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Alerting on every metric spike, causing fatigue.
- No alert on snapshots older than a few days.
- Alerts without owners or runbook links.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Alert on symptoms users feel.
- Use duration to avoid flapping.
- Every alert needs an action.
amtool alert query— active alertsGet-ClusterLog / event subscriptions— Windows eventspvesh get /cluster/notifications— Proxmox notifications
ReferenceWhy it matters1 section · depth on demand
Alerts worth having
| Alert | Why |
|---|---|
| Host disconnected / not responding | Possible HA event |
| HA failover occurred | VMs restarted; investigate cause |
| Datastore > 80/90 % | Prevent full datastores |
| Snapshot older than 72 h | Growth and performance |
| CPU ready / memory swap high | Contention |
| Quorum lost / degraded | Cluster at risk |
| Backup job failed | Recovery gap |
Route critical alerts to on-call; tune noisy ones instead of ignoring them.
ReferenceImportant terms & boundaries2 sections · depth on demand
Alerts worth adding
- Snapshot older than 3 days.
- Datastore above 85 %.
- Host lost redundancy (NIC, PSU, path).
- HA disabled or cluster not quorate.
- VM guest heartbeat lost.
In depth
Good virtualization alerts are actionable and few:
| Alert | Threshold idea |
|---|---|
| Host down / not responding | Immediately |
| Datastore usage | 80 % warning, 90 % critical |
| Snapshot age | > 72 hours |
| CPU ready per vCPU | > 5 % for 15 min |
| Memory swap-in rate | > 0 sustained |
| Disk latency | Above storage-class threshold for 5–10 min |
| Backup/replication failed or lag > RPO | Each run |
| Hardware health | Any sensor critical |
Route alerts to an owner, link a runbook, and review noisy alerts monthly — muted alert floods hide the important ones.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Monitoring → Alerts. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%