Use this when checking whether a VM and its service are really healthy.
VM Health
VM health combines heartbeat from guest tools, power state, CPU and memory metrics, disk latency, snapshot age and application checks, so you see whether the VM and its service are actually working.
1. VM health: state, heartbeat/guest agent, resource use.
2. Running ≠ application healthy.
3. Check guest agent responses.
4. Monitor inside guest too.
5. Alert on unexpected states.
VM process → guest agent → application checks
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
- Treating VM powered-on as healthy without guest heartbeat.
- No application-level checks.
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.
- Powered on ≠ healthy.
- Heartbeat needs guest tools.
- Check the application too.
qm status <vmid> --verbose— VM statusGet-VM | ft Name,State,Status,Heartbeat— Hyper-V heartbeatvirsh domstate <vm> --reason— libvirt state
ReferenceWhy it matters1 section · depth on demand
VM health signals
- Guest heartbeat from tools/agent (missing = hung or tools stopped).
- CPU ready, balloon, swap, disk latency per VM.
- Snapshot present for longer than expected.
- Guest disk free space (via agent or monitoring inside the VM).
- Application health checks (HTTP, database) — a running VM is not a working service.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
VM health signals: power state, guest heartbeat (tools/agent running), guest OS metrics from an in-guest agent, and application checks.
vSphere VM monitoring restarts VMs whose VMware Tools heartbeats stop (with I/O activity checks to avoid false positives); Proxmox can watch the guest agent via external monitoring; Hyper-V clusters can monitor services inside guests (Add-ClusterVMMonitoredItem). Use these only after confirming tools are reliable — otherwise they cause unnecessary reboots.
Signals
| Signal | Source |
|---|---|
| Guest heartbeat | VMware Tools / qemu-guest-agent / integration services |
| CPU/memory/disk inside guest | Agent metrics |
| Application health | Service checks, HTTP probes |
| Crash/hang | Watchdog device, console screenshots |
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 → VM Health. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/html/libvirt-libvirt-domain.html · confidence 94%