BAM Portal Availability Monitor

Microsoft.BizTalk.Server.2016.BAMPortal.AvailabilityMonitor (UnitMonitor)

The availability monitor for the BAM portal

Knowledge Base article:

Summary

BAM portal is used by the business end users to monitor Key Performance Indicators (KPIs), which measures progress toward a business goal, as well as other information about their business process.

The health of BAM portal depends on health of the processes in BAM Portal website and BAM Application Pool.

Causes

This commonly happens in the following situations: web server is not running or the application pool is disabled.

Resolutions

Ensure the web server is running and the application pool is correctly configured.

Element properties:

TargetMicrosoft.BizTalk.Server.2016.BAMPortal
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.BizTalk.Server.2016.BAMPortal.AvailabilityMonitor
RemotableTrue
AccessibilityPublic
Alert Message
BizTalk Server: Availability Monitor raised an Error on BAM Portal
BAM portal - {0} : reported an error: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.BizTalk.Server.2016.BAMPortal.AvailabilityMonitor" Accessibility="Public" Enabled="true" Target="BTSLib!Microsoft.BizTalk.Server.2016.BAMPortal" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="BTSLib!Microsoft.BizTalk.Server.2016.BAMPortal.AvailabilityMonitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.BizTalk.Server.2016.BAMPortal.AvailabilityMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2016.BAMPortal"]/Name$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='ErrorDetail']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Portal_Success" MonitorTypeStateID="SuccessState" HealthState="Success"/>
<OperationalState ID="Portal_Error" MonitorTypeStateID="ErrorState" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>900</IntervalSeconds>
<TargetServer>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</TargetServer>
<TargetWebSite>$Target/Property[Type="BTSLib!Microsoft.BizTalk.Server.2016.BAMPortal"]/Name$</TargetWebSite>
<LogSuccessEvent>false</LogSuccessEvent>
<TimeoutSeconds>300</TimeoutSeconds>
</Configuration>
</UnitMonitor>