MessageBox Database Availability Monitor

Microsoft.BizTalk.Server.2013R2.MsgBoxDatabase.AvailabilityMonitor (UnitMonitor)

Availability monitor for the BizTalk MessageBox database. This shows the combined availability of the primary and secondary message boxes.

Knowledge Base article:

Summary

Availability monitor for the BizTalk MessageBox database. This shows the combined availability of the primary and secondary message boxes.

Causes

This commonly happens in the following situations: database is not running.

Resolutions

Ensure the database is running and online.

Element properties:

TargetMicrosoft.BizTalk.Server.2013R2.BizTalkRuntimeRole
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.BizTalk.Server.2013R2.MultipleDatabase.AvailabilityMonitor
RemotableTrue
AccessibilityPublic
Alert Message
BizTalk Server: Availability Monitor raised an Error on BizTalk MessageBox Database
BizTalk MessageBox database - {0} : reported an error: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.BizTalk.Server.2013R2.MsgBoxDatabase.AvailabilityMonitor" Accessibility="Public" Enabled="true" Target="BTSLib!Microsoft.BizTalk.Server.2013R2.BizTalkRuntimeRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="BTSLib!Microsoft.BizTalk.Server.2013R2.MultipleDatabase.AvailabilityMonitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.BizTalk.Server.2013R2.MsgBoxDatabase.AvailabilityMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2013R2.BizTalkRuntimeRole"]/MsgBoxDbName$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='ErrorDetail']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Database_Success" MonitorTypeStateID="SuccessState" HealthState="Success"/>
<OperationalState ID="Database_Warning" MonitorTypeStateID="WarningState" HealthState="Warning"/>
<OperationalState ID="Database_Error" MonitorTypeStateID="ErrorState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>930</IntervalSeconds>
<MgmtDBServer>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2013R2.ServerRole"]/MgmtDbServerName$</MgmtDBServer>
<MgmtDBName>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2013R2.ServerRole"]/MgmtDbName$</MgmtDBName>
<LogSuccessEvent>false</LogSuccessEvent>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>