Virtual Machine Manager VM-druk van dynamisch geheugen

ProHostVMMemoryPressureUnitMonitor (UnitMonitor)

Dit is een eenheidsmonitor die controleert of de vraag naar geheugen op een virtuele machine het toegewezen geheugen overschrijdt met een bepaald percentage.

Knowledge Base article:

Overzicht

Deze monitor houdt de geheugendruk van virtuele machines met dynamisch Hyper-V-geheugen bij en genereert een waarschuwing als de druk een door de gebruiker gedefinieerde drempelwaarde overschrijdt. De standaarddrempelwaarden zijn 80% (waarschuwing) en 100% (fout).

Oorzaken

De geheugendruk van de virtuele machine heeft de gedefinieerde drempelwaarde overschreden.

Oplossingen

Migreer de virtuele machine of pas de doelgeheugendruk van de virtuele machine aan om het probleem te verhelpen.

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.VMPressure
RemotableTrue
AccessibilityPublic
Alert Message
PRO VM-druk van dynamisch geheugen
De vraag naar geheugen is {0}\% van het toegewezen geheugen en heeft het niveau Kritiek of Waarschuwing overschreden voor {1}.
RunAsDefault

Source Code:

<UnitMonitor ID="ProHostVMMemoryPressureUnitMonitor" 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.VMPressure" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="ProHostVMMemoryPressureUnitMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/SampleValue$</AlertParameter1>
<AlertParameter2>$Data/Context/InstanceName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMemoryPressureUnitMonitor_StateSuccess" MonitorTypeStateID="ConditionSuccess" HealthState="Success"/>
<OperationalState ID="VMMemoryPressureUnitMonitor_StateWarning" MonitorTypeStateID="ConditionWarn" HealthState="Warning"/>
<OperationalState ID="VMMemoryPressureUnitMonitor_StateError" MonitorTypeStateID="ConditionError" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<VMNames>$Target/Property[Type="Microsoft.SystemCenter.VirtualMachineManager.PRO.V2.ManagedHost.HyperV"]/VMNames$</VMNames>
<WarningThreshold>80</WarningThreshold>
<ErrorThreshold>100</ErrorThreshold>
<ConsecutiveSamples>3</ConsecutiveSamples>
</Configuration>
</UnitMonitor>