BizTalk Application Service Availability Monitor

Microsoft.BizTalk.Server.2010.BizTalkApplicationService.ServiceRunningMonitor (UnitMonitor)

Checks that the BizTalk application service (BTSNTSvc.exe) is running

Knowledge Base article:

Summary

A BizTalk application service corresponds to a BizTalk host instance which is the physical installation of a host in a BizTalk Server. After you create a host (a logical container), you can add physical BizTalk servers (host instances) to the host, typically, an administrator uses Windows Management Instrumentation (WMI) or the BizTalk Administration console to install host instances. The host instance is essentially btsntsvc.exe service, it runs on the BizTalk Server runtime machines and is responsible for running all the artifacts included in the given BizTalk Host.

The health of BizTalk Application service depends on the availability and status of the host instance service (btsntsvc.exe).

Causes

If one of the BizTalk application services is not running then this monitor will change to a critical state and is configured to generate an alert by default.

Resolutions

Start the BizTalk application service that has stopped.

Element properties:

TargetMicrosoft.BizTalk.Server.2010.BizTalkApplicationService
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
One of the BizTalk application services is not running
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.BizTalk.Server.2010.BizTalkApplicationService.ServiceRunningMonitor" Accessibility="Public" Enabled="true" Target="BTSLib!Microsoft.BizTalk.Server.2010.BizTalkApplicationService" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.BizTalk.Server.2010.BizTalkApplicationService.ServiceRunningMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2010.BizTalkApplicationService"]/Name$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="BTSLib!Microsoft.BizTalk.Server.2010.ServerRole"]/ComputerName$</ComputerName>
<ServiceName>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2010.BizTalkApplicationService"]/Name$</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>