Avg. Disk sec/Write (SUSE Linux Enterprise Server 12)

Microsoft.Linux.SLES.12.PhysicalDisk.AverageDiskWriteTime.Collection (Rule)

Collection rule for the performance counter Physical Disk\Avg. Disk sec/Write

Knowledge Base article:

Summary

This rule collects performance data for the Physical Disk\Avg. Disk sec/Write performance counter. The collected values are accessible in performance views and reports.

This metric exposes the average time, in seconds, of disk writes. A disk that is developing a bottleneck might cause the entire system to slow.

The value returned by the agent is the average rate for the preceding 5 minutes.

Monitoring of physical disks is disabled by default. Enable monitoring by enabling the object discovery named 'Discover SUSE Linux Enterprise Server 12 Physical Disks.'

Element properties:

TargetMicrosoft.Linux.SLES.12.PhysicalDisk
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Linux.SLES.12.PhysicalDisk.AverageDiskWriteTime.Collection" Target="Microsoft.Linux.SLES.12.PhysicalDisk" Enabled="true" Remotable="true">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Unix!Microsoft.Unix.WSMan.PerfCounterProvider.Filtered">
<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/NetworkName$</TargetSystem>
<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_DiskDriveStatisticalInformation?__cimnamespace=root/scx</Uri>
<Filter/>
<SplitItems>true</SplitItems>
<Interval>300</Interval>
<ObjectName>Physical Disk</ObjectName>
<CounterName>Avg. Disk sec/Write</CounterName>
<InstanceName>$Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$</InstanceName>
<InstanceProperty>/DataItem/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='Name']</InstanceProperty>
<Value>$Data/WsManData/*[local-name(.)='SCX_DiskDriveStatisticalInformation']/*[local-name(.)='AverageWriteTime']$</Value>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>