Operating System Available MegaBytes Memory

Microsoft.Linux.XenServer.6.OperatingSystem.AvailableMBytes.Monitor (UnitMonitor)

Citrix XenServer 6 Operating System Available MegaBytes Memory Monitor

Knowledge Base article:

Summary

This monitor checks the Available MBytes (Memory\% Available MBytes) for the system. If you receive an alert from this monitor, action can be required in order to bring the system back to an operational state..

Causes

The amount of available physical memory can become low under the following circumstances:

Resolutions

To address a low physical memory condition an administrator may choose one or more of the following options:

You can view Available Memory by running the "Memory Info" Task from the State View.

VMStat provides detailed Memory Statistics averaged since the last reboot. You can run the VMStat Task from the State View.

Element properties:

TargetMicrosoft.Linux.XenServer.6.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 Memory is too low
The threshold for the Memory\Available MBytes performance counter has been exceeded. The value that exceeded the threshold is: {0} Available MBytes.
RunAsDefault

Source Code:

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