System Center 2016 Virtual Machine Manager – kapacita fondu úložiště

Microsoft.SystemCenter.VirtualMachineManager.2016.StoragePoolCapacityMonitor (UnitMonitor)

Monitoruje využití kapacity fondu úložiště

Knowledge Base article:

Souhrn

Sledování funkce Storage Pool Capacity sleduje dostupnou kapacitu fondů úložišť v serveru VMM. Pokud se využití úložiště přiblíží dostupné kapacitě fondu úložiště, sledování se přepne do varovného nebo kritického stavu.

Příčiny

Využití úložiště fondu úložišť se blíží dostupné kapacitě fondu. Ve výchozím nastavení, když využití úložiště přesahuje 80 % kapacity, sledování přejde do varovného stavu a pokud využití kapacity úložiště překročí 90 %, sledování přejde do kritického stavu. Každá z těchto prahových hodnot se dá přepsat.

Řešení

Chcete-li vrátit monitor do bezproblémového stavu, použijte následující doporučení:

Předefinovat kapacitu fondu úložiště

Snížit využití úložiště v rámci fondu

Přepište prahové hodnoty výstrahy a kritického stavu v monitoru

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.StoragePool
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2016.StoragePoolCapacityMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Využití kapacity fondu úložiště překročilo prahovou hodnotu

Celková kapacita fondu úložiště: {0}
Využitá kapacita fondu úložiště: {1}
Využití fondu úložiště: {2}; byla překročena prahová hodnota upozornění {3}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.StoragePoolCapacityMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.StoragePoolCapacityMonitorType" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.StoragePoolCapacityMonitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/TotalCapacity$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/UsedCapacity$</AlertParameter2>
<AlertParameter3>$Data/Context/Property[@Name='StoragePoolUsage']$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='WarningThreshold']$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="StorageCapacityCritical" MonitorTypeStateID="Error" HealthState="Error"/>
<OperationalState ID="StorageCapacityWarning" MonitorTypeStateID="Warning" HealthState="Warning"/>
<OperationalState ID="StorageCapacityHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<TotalCapacity>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/TotalCapacity$</TotalCapacity>
<UsedCapacity>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.StoragePool"]/UsedCapacity$</UsedCapacity>
<WarningThreshold>80</WarningThreshold>
<CriticalThreshold>90</CriticalThreshold>
</Configuration>
</UnitMonitor>