BizTalk Host Configuration Availability Monitor Type
Microsoft.BizTalk.Server.2013.HostConfiguration.AvailabilityMonitor (UnitMonitorType)
This is the BizTalk host configuration availability monitor type used for monitoring availability of BizTalk hosts.
Element properties: Member Modules:
Overrideable Parameters:
Source Code: <UnitMonitorType ID="Microsoft.BizTalk.Server.2013.HostConfiguration.AvailabilityMonitor" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="SuccessState" NoDetection="false"/>
<MonitorTypeState ID="WarningState" NoDetection="false"/>
<MonitorTypeState ID="ErrorState" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="IntervalSeconds" type="xsd:int"/>
<xsd:element name="ArtifactName" type="xsd:string"/>
<xsd:element name="TargetComputerName" type="xsd:string"/>
<xsd:element name="SuccessLimit" type="xsd:int"/>
<xsd:element name="WarningLimit" type="xsd:int"/>
<xsd:element name="LogSuccessEvent" type="xsd:boolean"/>
<xsd:element name="TimeoutSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SuccessLimit" Selector="$Config/SuccessLimit$" ParameterType="int"/>
<OverrideableParameter ID="WarningLimit" Selector="$Config/WarningLimit$" ParameterType="int"/>
<OverrideableParameter ID="LogSuccessEvent" Selector="$Config/LogSuccessEvent$" ParameterType="bool"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptDS" TypeID="Microsoft.BizTalk.Server.2013.Monitor.HostConfiguration.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TargetComputerName>$Config/TargetComputerName$</TargetComputerName>
<SuccessLimit>$Config/SuccessLimit$</SuccessLimit>
<WarningLimit>$Config/WarningLimit$</WarningLimit>
<LogSuccessEvent>$Config/LogSuccessEvent$</LogSuccessEvent>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ProbeAction ID="OnDemandReset" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="FilterRunning" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='$Config/ArtifactName$/State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>2</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarning" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='$Config/ArtifactName$/State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>1</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterNotRunning" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='$Config/ArtifactName$/State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>0</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="MapperRunning" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Host Configuration</ObjectName>
<CounterName>State</CounterName>
<InstanceName>$Config/ArtifactName$</InstanceName>
<Value>2</Value>
</ConditionDetection>
<ConditionDetection ID="MapperWarning" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Host Configuration</ObjectName>
<CounterName>State</CounterName>
<InstanceName>$Config/ArtifactName$</InstanceName>
<Value>1</Value>
</ConditionDetection>
<ConditionDetection ID="MapperNotRunning" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>Host Configuration</ObjectName>
<CounterName>State</CounterName>
<InstanceName>$Config/ArtifactName$</InstanceName>
<Value>0</Value>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="SuccessState">
<Node ID="MapperRunning">
<Node ID="FilterRunning">
<Node ID="ScriptDS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="WarningState">
<Node ID="MapperWarning">
<Node ID="FilterWarning">
<Node ID="ScriptDS"/>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ErrorState">
<Node ID="MapperNotRunning">
<Node ID="FilterNotRunning">
<Node ID="ScriptDS"/>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="SuccessState">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>