Operating System Available MegaBytes Swap Space

Microsoft.Linux.RHEL.5.OperatingSystem.AvailableMBytesSwap.Monitor (UnitMonitor)

Red Hat Enterprise Linux Server 5 Operating System Available MegaBytes Swap Space 监视器

Knowledge Base article:

摘要

该监视器检查可用交换空间的数量。如果收到监视器发出的警报,则必须采取措施以将系统恢复到操作状态。

原因

不正常状态表示可用交换空间使用率当前为高。环境可能引起此情况:

解决方法

您可查看在“状态”视图下运行“内存信息”后的可用内存。

VMStat 提供上次重新启动后平均的详细内存分析。您可在“状态”视图下运行 VMStat 任务。

Element properties:

TargetMicrosoft.Linux.RHEL.5.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} Available MBytes。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.RHEL.5.OperatingSystem.AvailableMBytesSwap.Monitor" Accessibility="Public" Target="Microsoft.Linux.RHEL.5.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Linux.RHEL.5.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</CounterName>
<InstanceName/>
<Value>$Data///*[local-name()="AvailableSwap"]$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>