Virtual Machine Manager – virtuális gép dinamikusmemória-igénye

ProHostVMMemoryPressureUnitMonitor (UnitMonitor)

Ez az egységfigyelő ellenőrzi, hogy egy adott virtuális gép memóriaigénye meghaladja-e a kiosztott memória méretét egy adott százalékos értékkel.

Knowledge Base article:

Összefoglalás

Ez a figyelő nyomon követi a Hyper-V rendszerű, dinamikus memória használatára alkalmas virtuális gépek memóriaigényét, és figyelmeztetést vált ki, ha az igény meghaladja a felhasználó által definiált küszöböt. Az alapértelmezett küszöbök: 80% (figyelmeztetés) és 100% (hiba).

Okok

A virtuális gép memóriaigénye meghaladta a definiált küszöböt.

Megoldások

A helyzet megoldásához telepítse át a virtuális gépet, vagy módosítsa a virtuális gép cél memóriaigényét.

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 – virtuális gép dinamikusmemória-igénye
A memóriaigény a kiosztott memória {0}\%-a, és túllépte a kritikus vagy a figyelmeztetési szintet a következőnél: {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>