Hyper-V VM Status Reference
All parameters, thresholds, and configuration options for the Hyper-V VM Status check in octoja.
Written By Erdinc Akay
Last updated About 2 months ago
The Hyper-V VM Status check monitors the status of virtual machines on a Hyper-V host and warns when VMs are in an unexpected state.
Configuration fields
Collected metrics
- Total VM count on the host
- VM state — only
Off,Saved, andPausedare evaluated explicitly; any other state (includingRunning) is treated as success - For VMs in a problem state, octoja reports the VM name, state, uptime, CPU usage (percent), and assigned memory (MB)
- Aggregated host result — the worst result across all evaluated VMs; when no VM is in a problem state, no per-VM details are shown
Platform support
Notes
- VMs in the
Pausedstate always raise a warning. This behavior is hardcoded and cannot be turned off via the configuration fields. - Requires the Hyper-V role installed and the Hyper-V PowerShell module available.
- The check uses
Get-VMto query VM states. - Failure semantics: a missing Hyper-V role or unavailable
Get-VMcmdlet raises a warning (not a failure). A host with no VMs also raises a warning. If Monitor all VMs is off and none of the listed VM names match a VM on the host (names are compared case-insensitively), the check raises a warning — for example after a VM has been renamed. Any other exception during evaluation raises a failure. - The check runs every 5 minutes on the agent. The interval is not user-configurable.
See also: Configure the Hyper-V VM Status Check