Performance Collection Rule for SMTP Server Message Pending Routing

Microsoft.Exchange.Routing.Queue.SMTPMsgPendRouting.Collection (Rule)

This rule collects the performance metric SMTP Server Message - Pending Routing

Knowledge Base article:

Summary

The Performance Collection rule collects the Exchange Performance Library Metric "SMTP Server Messages Pending Routing _Total".

This is the number of messages that have been categorized but not routed. Routing is the process of selecting the server to which the message will be sent in its next hop.

Configuration

The Performance Collection rule is an optimized collection rule. The following settings can be configured:

Frequency

The frequency is equivalent to the collection interval in seconds. For optimized collections, the frequency has to be adjusted along with the Maximum Sample Separation (see below).

Tolerance

Tolerance represents the absolute or percentage value a collected metric need to change compared to the previous collection interval in order to be collected by Operations Manager. The larger the tolerances the less fidelity collections provide, lowering the collected data volume. The lower the tolerance level, the more fidelity is available at the expense of increased data volume. A tolerance level of zero disables the optimized feature of the collection and data is collected every interval.

Tolerance Defaults

For standard numeric counters the tolerance is set as a percentage value (default is 5). For percentage metrics (for example % Processor time, or % DB Cache Hit Ratio), the tolerance is set as an absolute value (default is 2).

Maximum Sample Separation

The maximum sample separation enforces a sample collection even if a metric is not outside its tolerance. For Reports the Operations Manager Data Warehouse requires a metric to be collected at least every 1h. To ensure one data point per hour use the following formula:

Frequency x Maximum Sample Separation = 3600sec (1h)

Element properties:

TargetMicrosoft.Exchange.Routing.Queue
CategoryPerformanceCollection
EnabledTrue
Instance NameSMTP Server
Counter NameMessages Pending Routing
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Exchange.Routing.Queue.SMTPMsgPendRouting.Collection" Enabled="onEssentialMonitoring" Target="Exch2003Core!Microsoft.Exchange.Routing.Queue" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Messages Pending Routing</CounterName>
<ObjectName>SMTP Server</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>5</Tolerance>
<ToleranceType>Percentage</ToleranceType>
<MaximumSampleSeparation>4</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>