Collect Windows Media Services\Current File Read Rate (Kbps)

Custom.WMS.9.CurrentFileReadRate.Collect (Rule)

Element properties:

TargetCustom.WMS.9.Role
CategoryCustom
EnabledTrue
Instance NameWindows Media Services
Counter NameCurrent File Read Rate (Kbps)
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Custom.WMS.9.CurrentFileReadRate.Collect" Enabled="true" Target="Custom.WMS.9.Role" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<!-- Current File Read Rate is the current read rate, in Kbps, for all data files -->
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Current File Read Rate (Kbps)</CounterName>
<ObjectName>Windows Media Services</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>300</Frequency>
<Tolerance>15</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>10</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>