This rule collects the performance metrics for exchange event type 1004 for 'Top Destinations by Message Count' report. (reports only - disabled by default)
Collect Message Tracking Log Statistics Top Destinations by Message Count: Collects the multi-instance metric
Object McExchDG
Counter *E2k Message Count (counters for exchange event type 1004)
This rule submits data only to the Ops Mgr Data Warehouse for reporting purposes.
Note: Rule is disabled by default.
Max Entries: Limits the submitted data to the Top N Max Entries: Default value 200.
Timeout Seconds: Default 7200 sec.
Interval Seconds: Default 864000 sec (=1 day).
IMPORTANT NOTE: The performance collections for all Collect Message Tracking Log Statistics counters use the same script run internally to collect data. Change configuration in the same way for all Collect Message Tracking Log Statistics Rules.
This script is run once, if the configuration for all rules is the same. If the configuration is different, the script is run multiple times which has negative impact on the performance. (This collection is resource intensive).
Target | Microsoft.Exchange.Databases |
Category | PerformanceCollection |
Enabled | False |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptDS | DataSource | Collect_Message_Tracking_Log_Statistics.DataSource | Default |
CD | ConditionDetection | FilterAndPerfMapper | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Collect_Message_Tracking_Log_Statistics.1004.E2kMessageCount.PerformanceCollection" Enabled="false" Target="Exch2003Core!Microsoft.Exchange.Databases" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="Collect_Message_Tracking_Log_Statistics.DataSource">
<IntervalSeconds>86400</IntervalSeconds>
<TargetNetbiosComputer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</TargetNetbiosComputer>
<MaxEntries>200</MaxEntries>
<TimeoutSeconds>7200</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="CD" TypeID="FilterAndPerfMapper">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='StatusCounterId']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='StatusCounter']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>E2k Message Count</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<ObjectName>$Data/Property[@Name='StatusObject']$</ObjectName>
<CounterName>$Data/Property[@Name='StatusCounter']$</CounterName>
<InstanceName>$Data/Property[@Name='StatusInstance']$</InstanceName>
<Value>$Data/Property[@Name='StatusValue']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>