Veeam Hyper-V: Managed Hyper-V Host Health Service recommended configuration monitor

Veeam.Virt.Extensions.HyperV.HealthService.Monitor.RegistryConfiguration (UnitMonitor)

Health Service recommended configuration monitor

Knowledge Base article:

Summary

This monitor tracks the configuration of the Ops Mgr Health Service, when it runs on a server where the Veeam Hyper-V Management Pack workflows are running.

Configuration

The monitor is enabled by default. You can override the following parameters:

Name

Default Value

Description

PersistenceCacheMaximum

262144

Specifies a threshold for the 'PersistenceCacheMaximum' registry setting. If the value is below the threshold, the monitor will start generating alerts.

PersistenceCheckpointDepthMaximum

104857600

Specifies a threshold for the 'PersistenceCheckpointDepthMaximum' registry setting. If the value is below the threshold, the monitor will start generating alerts.

PersistenceVersionStoreMaximum

131072

Specifies a threshold for the 'PersistenceVersionStoreMaximum' registry setting. If the value is below the threshold, the monitor will start generating alerts.

StateQueueItems

20480

Specifies a threshold for the 'StateQueueItems' registry setting. If the value is below the threshold, the monitor will start generating alerts.

MaximumQueueSizeKb

204800

Specifies a threshold for the 'MaximumQueueSizeKb' registry setting. If the value is below the threshold, the monitor will start generating alerts.

Note: If you have configured several overrides of the same type, select the Enforced check box for an override that should have priority over all other overrides.

Causes

The Veeam Hyper-V Management Pack workflows publish large amounts of data concerning the monitored Hyper-V environment. For this reason some specific configuration and optimization of the local Ops Mgr Health Service is required, so that the Health Service can process this data load efficiently. These configuration changes are part of the registry settings for the Ops Mgr Health Service.

Resolutions

There are two possible situations where this alert will fire:

Use the Alerts View to see all current open issues for this object. Use the Events View to review any error and warning events for this object. Open a Performance View to see the performance metrics for this object and all contained objects. Open a Diagram View to analyze the relationships of this object to other components.

External

See the Help Center for more information including reference lists of all Rules and Monitors and User Guide for the Veeam Hyper-V MP.

See the Microsoft Online Documentation for more information on Microsoft Hyper-V.

Element properties:

TargetVeeam.Virt.Extensions.HyperV.DiscoveryTarget
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityLow
Alert Auto ResolveTrue
Monitor TypeVeeam.Virt.Extensions.VMware.HealthServiceRegistry.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Veeam Hyper-V: Managed Hyper-V Host Health Service recommended configuration monitor

The Ops Mgr Health Service on this Veeam Hyper-V Discovery Target is not optimally configured for best performance and scalability.

For Ops Mgr Agent, a Recovery Action will automatically correct this configuration and restart the Agent. Once corrected this Alert will close.

For Ops Mgr Management Server, the ‘Configure Health Service’ Task should be run manually. Note that this will restart the Health Service on the Management Server.
RunAsDefault

Source Code:

<UnitMonitor ID="Veeam.Virt.Extensions.HyperV.HealthService.Monitor.RegistryConfiguration" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Veeam.Virt.Extensions.HyperV.DiscoveryTarget" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Veeam.Virt.Extensions.VMware.HealthServiceRegistry.MonitorType" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Veeam.Virt.Extensions.HyperV.HealthService.Monitor.RegistryConfiguration_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Green" MonitorTypeStateID="Ok" HealthState="Success"/>
<OperationalState ID="Yellow" MonitorTypeStateID="NotOk" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<PersistenceCacheMaximum>262144</PersistenceCacheMaximum>
<PersistenceCheckpointDepthMaximum>104857600</PersistenceCheckpointDepthMaximum>
<PersistenceVersionStoreMaximum>131072</PersistenceVersionStoreMaximum>
<StateQueueItems>20480</StateQueueItems>
<MaximumQueueSizeKb>204800</MaximumQueueSizeKb>
<Frequency>86400</Frequency>
<MGName>$Target/ManagementGroup/Name$</MGName>
</Configuration>
</UnitMonitor>