作業系統 Available MegaBytes Swap Space

Microsoft.Linux.SLES.9.OperatingSystem.AvailableMBytesSwap.Monitor (UnitMonitor)

SUSE Linux Enterprise Server 9 作業系統 Available MegaBytes Swap Space 監視

Knowledge Base article:

摘要

此監視會檢查可用交換空間的容量。如果您接收到此監視的警示,可能需要執行動作才能讓系統恢復操作狀態。

原因

狀況不良狀態表示目前交換空間使用率過高。可能造成這種狀況的情況包括:

解決方式

您可以從 [狀態檢視] 執行 [記憶體資訊] 工作,以檢視可用的記憶體。

VMStat 提供自上次重新開機後詳細的平均記憶體統計資料。您可以從 [狀態檢視] 執行 [VMStat] 工作。

Element properties:

TargetMicrosoft.Linux.SLES.9.OperatingSystem
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Unix.WSMan.Performance.Average.Threshold.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Available MegaBytes Swap Space 過低
[Swap Space\Available MBytes] 效能計數器已超過閾值。以下的值已超過閾值:{0} 可用 MB。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.SLES.9.OperatingSystem.AvailableMBytesSwap.Monitor" Accessibility="Public" Target="Microsoft.Linux.SLES.9.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.SLES.9.OperatingSystem.AvailableMBytesSwap.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Error" MonitorTypeStateID="UnderThreshold" ID="UnderThreshold"/>
<OperationalState HealthState="Success" MonitorTypeStateID="OverThreshold" ID="OverThreshold"/>
</OperationalStates>
<Configuration>
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_MemoryStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Swap Space</ObjectName>
<CounterName>Available MBytes Swap</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='AvailableSwap']$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>