Collect Queue Journal Percentage

Microsoft.MSMQ.6.2.Rule.CollectQueueJournalPercentage (Rule)

Knowledge Base article:

Summary

This Rule collects the journal quota percentage used from the journal quota of the queue.

Element properties:

TargetMicrosoft.MSMQ.6.2.Queues
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.MSMQ.6.2.DataSource.Queue.Statistics.PerformanceRaw Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.MSMQ.6.2.Rule.CollectQueueJournalPercentage" Enabled="true" Target="Microsoft.MSMQ.6.2.Queues" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.MSMQ.6.2.DataSource.Queue.Statistics.PerformanceRaw">
<IntervalSeconds>900</IntervalSeconds>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<QueuePath>$Target/Property[Type='Microsoft.MSMQ.6.2.Queue']/PathName$</QueuePath>
<CounterName>Journal Quota Pctg</CounterName>
<LogDetail>false</LogDetail>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>