Deep availability health monitor of the application server monitor type

Microsoft.JEE.Deep.AvailabilityHealth.MonitorType (UnitMonitorType)

The module for deep monitoring of an application server.

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.JEE.HttpGet.UrlProbe.CheckStatusCode.DataSource Default
Probe ProbeAction Microsoft.JEE.HttpGet.UrlProbe.CheckStatusCode.ProbeAction Default
CD_Available ConditionDetection Microsoft.JEE.StatusCodeCheck.Equal.ConditionDetection Default
CD_Unavailable ConditionDetection Microsoft.JEE.StatusCodeCheck.NotEqual.ConditionDetection Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
ComputerNamestring$Config/ComputerName$Computer nameThe name of the computer that hosts the application server.
Protocolstring$Config/Protocol$ProtocolThe protocol to use to perform the HTTP call.
Portstring$Config/Port$PortThe port number to use to perform the HTTP call.
BaseURLstring$Config/BaseURL$Base URLThe base URL to use to find BeanSpy.
IntervalSecondsint$Config/IntervalSeconds$IntervalThe time value (in seconds) between the calls on the monitor.
TimeoutSecondsint$Config/TimeoutSeconds$TimeoutThe timeout-value (in seconds) for inactivity on the monitor.

Source Code:

<UnitMonitorType ID="Microsoft.JEE.Deep.AvailabilityHealth.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Available" NoDetection="false"/>
<MonitorTypeState ID="Unavailable" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="ComputerName" type="xsd:string"/>
<xsd:element name="Protocol" type="xsd:string"/>
<xsd:element name="Port" type="xsd:string"/>
<xsd:element name="BaseURL" type="xsd:string"/>
<xsd:element name="URLSuffix" type="xsd:string"/>
<xsd:element name="IntervalSeconds" type="xsd:integer"/>
<xsd:element name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="ComputerName" ParameterType="string" Selector="$Config/ComputerName$"/>
<OverrideableParameter ID="Protocol" ParameterType="string" Selector="$Config/Protocol$"/>
<OverrideableParameter ID="Port" ParameterType="string" Selector="$Config/Port$"/>
<OverrideableParameter ID="BaseURL" ParameterType="string" Selector="$Config/BaseURL$"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.JEE.HttpGet.UrlProbe.CheckStatusCode.DataSource">
<ComputerName>$Config/ComputerName$</ComputerName>
<Protocol>$Config/Protocol$</Protocol>
<Port>$Config/Port$</Port>
<URL>$Config/BaseURL$/BeanSpy/Stats$Config/URLSuffix$</URL>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ProbeAction ID="Probe" TypeID="Microsoft.JEE.HttpGet.UrlProbe.CheckStatusCode.ProbeAction">
<ComputerName>$Config/ComputerName$</ComputerName>
<Protocol>$Config/Protocol$</Protocol>
<Port>$Config/Port$</Port>
<URL>$Config/BaseURL$/BeanSpy/Stats$Config/URLSuffix$</URL>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</ProbeAction>
<ConditionDetection ID="CD_Available" TypeID="Microsoft.JEE.StatusCodeCheck.Equal.ConditionDetection">
<XPath>RequestResults/RequestResult[@Id=1]/BasePageData/StatusCode</XPath>
<ActualValue>200</ActualValue>
</ConditionDetection>
<ConditionDetection ID="CD_Unavailable" TypeID="Microsoft.JEE.StatusCodeCheck.NotEqual.ConditionDetection">
<XPath>RequestResults/RequestResult[@Id=1]/BasePageData/StatusCode</XPath>
<ActualValue>200</ActualValue>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Available">
<Node ID="CD_Available">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Unavailable">
<Node ID="CD_Unavailable">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Available">
<Node ID="CD_Available">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Unavailable">
<Node ID="CD_Unavailable">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>