OperatingSystem Available MBytes Swap

Microsoft.Solaris.10.OperatingSystem.AvailableMBytesSwap.Monitor (UnitMonitor)

Solaris 10 OperatingSystem Available MBytes Swap Monitor

Knowledge Base article:

Summary

Available megabytes of swap space is low. System performance may be adversely affected.

The available megabytes of swap space value represents the free swap space, which is calculated by subtracting reserved swap from total swap (from the sysconf API).

The monitor threshold is analyzed against an average of values returned in polls to the agent, where the Number of Samples parameter controls the number of samples included in the calculation of the average.

Configuration

Default Configuration

Parameter

Default Value

Threshold

2.5

Interval (seconds)

300

Number of Samples

3

Overrides can be used to change the parameter values defined above for all instances or for specific instances or groups.

Causes

An unhealthy state indicates that the swap space utilization is currently high. Circumstances that may cause this condition:

Resolutions

You can view available memory by running the "Memory Information" Task from the State View.

You can view detailed memory statistics by running the "Run VMStat" Task from the State View.

Element properties:

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

Source Code:

<UnitMonitor ID="Microsoft.Solaris.10.OperatingSystem.AvailableMBytesSwap.Monitor" Accessibility="Public" Target="Microsoft.Solaris.10.OperatingSystem" TypeID="Unix!Microsoft.Unix.WSMan.Performance.Average.Threshold.MonitorType" Enabled="true" ParentMonitorID="SystemHealth!System.Health.PerformanceState">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.Solaris.10.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>