Collect Windows Media Services\Current File Read Rate (Kbps)
Custom.WMS.9.CurrentFileReadRate.Collect (Rule)
Element properties:
Member Modules:
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>