Better Monitoring for Hyper-V?

I’m looking for better tracking on Hyper-V resource allocation. The Hyper-V plugins don’t seem to give me what I want.

CPUs: total allocated vs total available

Memory: total allocated vs total available

Disk space: total allocated vs total available

I’ve got Inventory on CPU, memory, and disk usage but nothing on allocation metrics.

Looks like there will be a updated plugin for hyper-v in version 2.5:

Only ting missing is CPU?

Configured RAM details, including start, minimum, maximum, and currently assigned RAM, as well as demand if available

VHD(X) size and its actual storage consumption on the Hyper-V host

This plugin in 2.5 is the MKP what is available also for 2.2/3/4 here.

But i don’t know what @icy_environment really expects as information.
The disc space and memory should be now problem to see the real usage against the provisioned sizes.
For CPU you don’t see much inside HyperV.
This is the data you can expect for CPU.

ResourcePoolName                             : Primordial
Count                                        : 4
CompatibilityForMigrationEnabled             : False
CompatibilityForMigrationMode                : MinimumFeatureSet
CompatibilityForOlderOperatingSystemsEnabled : False
HwThreadCountPerCore                         : 1
ExposeVirtualizationExtensions               : False
EnablePerfmonPmu                             : False
EnablePerfmonArchPmu                         : False
EnablePerfmonLbr                             : False
EnablePerfmonPebs                            : False
EnablePerfmonIpt                             : False
EnableLegacyApicMode                         : False
ApicMode                                     : Default
AllowACountMCount                            : False
CpuBrandString                               :
PerfCpuFreqCapMhz                            : 0
L3CacheWays                                  : 0
PhysicalAddressWidth                         : 0
Maximum                                      : 100
Reserve                                      : 0
RelativeWeight                               : 100
MaximumCountPerNumaNode                      : 8
MaximumCountPerNumaSocket                    : 1
EnableHostResourceProtection                 : False
OperationalStatus                            : {Ok, HostResourceProtectionDisabled}

I don’t see any useful information here beside the number of configured CPUs and this information is collected by the plugin.

3 Likes

Short: You don’t get that information in Hyper-V.

Longer:

CPU: You may get that information if you use the “correct” CPU vendor. There is a bug for AMD CPUs which is not fixed since a couple of months/years

Mem: You don’t get that information as far as I remember. You only get what has been claimed by the VM as RAM. This does not represent the actual Memory usage by the OS of the VM.

Disk: If you set up the VM correctly, you will never get that data as the disk is encrypted and intentionally hiding that information for security reasons. Even if you did not encrypt the disk, Hyper-V can only tell how much space the vhdx is using. This also does not reflect the actual usage (because of fragmentation, deleted files, etc.).

Indeed Hyper-V is mainly capable of providing data about the deployment rather than the actual usage data within the VM.

3 Likes