作業系統 Available Megabytes Memory

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

SUSE Linux Enterprise Server 9 作業系統 Available Megabytes Memory 監視

Knowledge Base article:

摘要

記憶體的可用 MB 偏低。 可能會對系統效能造成負面影響。

可用的 MB 記憶體值表示 MemFree、Buffers 和 Cached 的加總,由作業系統報告。

監視閾值是針對輪詢代理程式時傳回的平均值進行分析,其中 [範例數] 參數用於控制平均計算中所含的範例數。

設定

預設設定

參數

預設值

閾值

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
記憶體可用 MB 過低
Memory\Available MBytes 效能計數器已超過閾值。 以下的值已超過閾值: {0} 可用 MB。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Linux.SLES.9.OperatingSystem.AvailableMBytes.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.AvailableMBytes.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>Memory</ObjectName>
<CounterName>Available MBytes Memory</CounterName>
<InstanceName/>
<Value>$Data/WsManData/*[local-name(.)='SCX_MemoryStatisticalInformation']/*[local-name(.)='AvailableMemory']$</Value>
<Threshold>2.5</Threshold>
<NumSamples>3</NumSamples>
</Configuration>
</UnitMonitor>