Virtual Machine Manager Hyper-V VM-geheugenbelasting

ProHostVMMemoryPressureUnitMonitor (UnitMonitor)

Dit is een unit-monitor die controleert of de vraag naar geheugen door een bepaalde virtuele machine het toegewezen geheugen met een bepaald percentage overschrijdt.

Knowledge Base article:

Samenvatting

Deze monitor volgt de geheugenbelasting van virtuele machines met Hyper-V en genereert een waarschuwing indien de belasting een door de gebruiker vastgestelde drempel overschrijdt. De standaarddrempels zijn 80% (waarschuwing) en 100% (fout).

Oorzaken

De geheugenbelasting van de virtuele machine heeft de gedefinieerde drempel overschreden.

Oplossingen

Migreer de virtuele machine of pas de doelgeheugenbelasting 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 Hyper-V VM-geheugenbelasting
De vraag naar geheugen is {0}\% van het toegewezen geheugen en heeft de waarschuwingsniveaus of kritieke niveaus voor {1} bereikt.
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>
<DynamicMemoryVMs>false</DynamicMemoryVMs>
</Configuration>
</UnitMonitor>