This rule collects the performance metric Median Mailbox Message Count
Collect Mailbox Statistics Median Mailbox Message Count: Collects the single-instance metric:
Object Exchange MP
Counter Median Mailbox Message Count
Max Entries: Limits the submitted data to the Top N Max Entries: Default value 200.
Timeout Seconds: Default 1800 sec.
Interval Seconds: Default 864000 sec (=1 day).
IMPORTANT NOTE: The performance collections for all Collect Mailbox Statistics counters use the same script run internally to collected data. Change configuration in the same way for all Collect Mailbox Statistics Rules only.
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 performances. (This collection is resource intensive).
Target | Microsoft.Exchange.Databases |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptDS | DataSource | Collect_Mailbox_Statistics.DataSource | Default |
FilterPerf | ConditionDetection | System.ExpressionFilter | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Collect_Mailbox_Statistics.MedianMailboxMessageCount.PerformanceCollection" Enabled="onStandardMonitoring" Target="Exch2003Core!Microsoft.Exchange.Databases" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="Collect_Mailbox_Statistics.DataSource">
<IntervalSeconds>86400</IntervalSeconds>
<TargetNetbiosComputer>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</TargetNetbiosComputer>
<MaxEntries>200</MaxEntries>
<TimeoutSeconds>1800</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterPerf" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">CounterName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Median Mailbox Message Count</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>