Available MBytes Swap (Solaris 11)

Microsoft.Solaris.11.OperatingSystem.AvailableMBytesSwap.Collection (Rule)

Collection rule for the performance counter Swap Space\Available MBytes

Knowledge Base article:

Summary

This rule collects performance data for the Swap Space\Available MBytes Swap performance counter. The collected values are accessible in performance views and reports.

This metric exposes the total amount of available swap space in megabytes.

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).

Element properties:

TargetMicrosoft.Solaris.11.OperatingSystem
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Unix.WSMan.PerfCounterProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Solaris.11.OperatingSystem.AvailableMBytesSwap.Collection" Target="Microsoft.Solaris.11.OperatingSystem" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider">
<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>false</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>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>