MSMQ Server Process Private MBytes PerformanceCollection Rule

MSMQ.Server.ProcessPrivateMBytes.PerformanceCollection.Rule (Rule)

Element properties:

TargetMSMQ.Server
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource MSMQ.ServerStats.DS Default
System.Performance.DataGenericMapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="MSMQ.Server.ProcessPrivateMBytes.PerformanceCollection.Rule" Enabled="true" Target="MSMQ.Server" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="MSMQ.ServerStats.DS">
<IntervalSeconds>901</IntervalSeconds>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<DebugLogging>false</DebugLogging>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="System.Performance.DataGenericMapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Process</ObjectName>
<CounterName>Private MBytes</CounterName>
<InstanceName>mqsvc</InstanceName>
<Value>$Data/Property[@Name='MemoryValueMB']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>