オペレーティング システムの使用可能なスワップ領域のメガバイト数

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

SUSE Linux Enterprise Server 9 オペレーティング システムの使用可能なスワップ領域のメガバイト数モニター

Knowledge Base article:

概要

使用可能なスワップ領域のメガバイト数が少なくなっています。システムのパフォーマンスに悪影響を与える可能性があります。

使用できるスワップ領域のメガバイト数は、オペレーティング システムにより報告された空きスワップ領域を表します。

モニターのしきい値は、エージェントへのポーリングで返された値の平均値を基準として分析されます。ここで [サンプル数] パラメーターは、平均値の計算に使用されるサンプルの数を制御します。

構成

既定の構成

パラメーター

既定値

しきい値

2.5

間隔 (秒)

300

サンプル数

3

上記で定義されたパラメーターの値は、上書きを使用して、すべてのインスタンスまたは特定のインスタンスやグループに対して変更できます。

原因

異常な状態とは、スワップ領域の使用率が現在高くなっていることを示します。 この状態の原因には、次のような状況が考えられます。

解決策

[状態ビュー] から [メモリ情報] タスクを実行して、使用可能なメモリを表示できます。

[状態ビュー] から [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
使用可能なスワップ領域のメガバイト数が少なすぎます
Swap Space\Available MBytes パフォーマンス カウンターのしきい値を超えました。しきい値を超えた値は、次のとおりです。{0} 使用可能なメガバイト数
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>