Collection Rule for Disk Bytes Per Second 2008

Microsoft.Windows.Server.2008.LogicalDisk.DiskBytesPerSec.Collection (Rule)

Collects the performance counter LogicalDisk\Disk Bytes Per Second

Knowledge Base article:

Summary

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

The Logical Disk\Disk Bytes/sec performance counter exposes the rate bytes are transferred to or from the disk during write or read operations.

Element properties:

TargetMicrosoft.Windows.Server.2008.LogicalDisk
CategoryPerformanceCollection
EnabledFalse
Instance NameLogicalDisk
Counter NameDisk Bytes/sec
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.Server.2008.LogicalDisk.DiskBytesPerSec.Collection" Enabled="false" Target="Server2008!Microsoft.Windows.Server.2008.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>Disk Bytes/sec</CounterName>
<ObjectName>LogicalDisk</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>300</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterPerf" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">InstanceName</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">_Total</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>