Monitor MessageBox Tracking Data Size

Microsoft.BizTalk.Library.BizTalkServer.MessageBoxTrackingDataSize (UnitMonitor)

The number of entries for tracking records in the BizTalk Message Box databases

Knowledge Base article:

Summary

The threshold for the “BizTalk:Message Box:General Counters\Tracking Data Size” counter has been exceeded.

Configuration

This monitor watches the value of the “BizTalk:Message Box:General Counters\Tracking Data Size” counter for a given system. If the value exceeds the preset threshold, which is set to 20,480,000 by default, then the state will change from healthy to critical. This monitoring is configured by default to generate an alert when the state is changed to critical.

Causes

Resolutions

External

Message Box Performance Counters: http://msdn2.microsoft.com/en-us/library/aa560410.aspx

Element properties:

TargetMicrosoft.BizTalk.2006.BizTalkServer.LocalApplication
Parent MonitorSystem.Health.PerformanceState
CategoryPerformanceHealth
EnabledFalse
Instance NameBizTalk:Message Box:General Counters
Counter NameTracking Data Size
Frequency60
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveFalse
Monitor TypeSystem.Performance.ThresholdMonitorType
RemotableTrue
AccessibilityInternal
Alert Message
The number of entries for tracking records in the BizTalk Message Box databases exceed the threshold.
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.BizTalk.Library.BizTalkServer.MessageBoxTrackingDataSize" Accessibility="Internal" Enabled="false" Target="BZLib!Microsoft.BizTalk.2006.BizTalkServer.LocalApplication" ParentMonitorID="Health!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="Perf!System.Performance.ThresholdMonitorType" ConfirmDelivery="false">
<Category>PerformanceHealth</Category>
<AlertSettings AlertMessage="Microsoft.BizTalk.Library.BizTalkServer.MessageBoxTrackingDataSize.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>false</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Value$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="OverThreshold" MonitorTypeStateID="OverThreshold" HealthState="Error"/>
<OperationalState ID="UnderThreshold" MonitorTypeStateID="UnderThreshold" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<CounterName>Tracking Data Size</CounterName>
<ObjectName>BizTalk:Message Box:General Counters</ObjectName>
<AllInstances>true</AllInstances>
<Frequency>60</Frequency>
<Threshold>20480000</Threshold>
</Configuration>
</UnitMonitor>