Virtual Machine Manager 最大动态内存监视器

ProHostMaxDynamicMemoryUnitMonitor (UnitMonitor)

这是一个单元监视器,用于检查每台虚拟机的最大内存的总和是否大于主机的物理内存

Knowledge Base article:

摘要

该显示器跟踪为 Hyper-V 主机上的虚拟机配置的最大内存总和,并在配置的最大内存总和超过了主机上安装的物理内存用户定义的百分比时生成警报。默认阈值为 125%(警告)和 150%(错误)。

原因

对此主机上的虚拟机配置的最大内存总和超过了定义的阈值。

解决方法

迁移虚拟机或调整分配到虚拟机的最大内存都可缓解状况。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.PRO.V2.ManagedHost.HyperV
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledFalse
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.PRO.MaxDynMemPerformance.ScriptBasedThresholdType
RemotableTrue
AccessibilityPublic
Alert Message
PRO 最大动态内存使用情况
分配到此主机的虚拟机的最大动态内存的总和达到了警告或严重级别。
RunAsDefault

Source Code:

<UnitMonitor ID="ProHostMaxDynamicMemoryUnitMonitor" Accessibility="Public" Enabled="false" Target="Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.ManagedHost.HyperV" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.VirtualMachineManager.PRO.MaxDynMemPerformance.ScriptBasedThresholdType" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="ProHostMaxDynamicMemoryUnitMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="MaxDynamicMemoryUnitMonitor_StateSuccess" MonitorTypeStateID="ConditionSuccess" HealthState="Success"/>
<OperationalState ID="MaxDynamicMemoryUnitMonitor_StateWarning" MonitorTypeStateID="ConditionWarn" HealthState="Warning"/>
<OperationalState ID="MaxDynamicMemoryUnitMonitor_StateError" MonitorTypeStateID="ConditionError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<VMNames>$Target/Property[Type="Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.ManagedHost.HyperV"]/VMNames$</VMNames>
<WarningThreshold>125</WarningThreshold>
<ErrorThreshold>150</ErrorThreshold>
</Configuration>
</UnitMonitor>