Collection Rule for Average Disk Seconds Per Transfer Windows Server 2016 and above

Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer.Collection (Rule)

Collects the performance counter LogicalDisk\Avg Disk Sec Per Transfer

Knowledge Base article:

Summary

This rule collects performance data for the Logical Disk\Avg. Disk sec/Transfer performance counter.

The Avg. Disk sec/Transfer counter indicates how fast data is being read and written on average for a specific logical disk.

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalDisk
CategoryPerformanceCollection
EnabledTrue
Instance NameLogicalDisk
Counter NameAvg. Disk sec/Transfer
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.LogicalDisk.AvgDiskSecPerTransfer.Collection" Enabled="true" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalDisk">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Avg. Disk sec/Transfer</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName>$Target/Property[Type="Windows!Microsoft.Windows.LogicalDevice"]/DeviceID$</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>0.026</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>