Performance Collection Rule for STT Monitor [Outgoing Messages/sec]

Microsoft.MSMQ.2008R2.Rule.OutgoingMessages.Collection (Rule)

Performance Collection rule for Monitor 'Outgoing Messages/sec'

Knowledge Base article:

Summary

This rule is to collect performance data for the Monitor 'Outgoing Messages/sec'

Element properties:

TargetMicrosoft.MSMQ.2008R2.Servers
CategoryPerformanceCollection
EnabledTrue
Instance NameMSMQ Service
Counter NameOutgoing Messages/sec
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.DataProvider Default
WA WriteAction Microsoft.SystemCenter.CollectPerformanceData Default

Source Code:

<Rule ID="Microsoft.MSMQ.2008R2.Rule.OutgoingMessages.Collection" Enabled="true" Target="Microsoft.MSMQ.2008R2.Servers" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="SystemPerf!System.Performance.DataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Outgoing Messages/sec</CounterName>
<ObjectName>MSMQ Service</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>900</Frequency>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
</WriteActions>
</Rule>