应用程序服务器监视器类型的深层可用性运行状况监视器

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

用于深层监视应用程序服务器的模块。

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$计算机名承载应用程序服务器的计算机的名称。
Protocolstring$Config/Protocol$协议用于执行 HTTP 调用的协议。
Portstring$Config/Port$端口用于执行 HTTP 调用的端口号。
BaseURLstring$Config/BaseURL$基 URL要用于查找 BeanSpy 的基 URL。
IntervalSecondsint$Config/IntervalSeconds$间隔监视器调用之间的时间值(以秒为单位)。
TimeoutSecondsint$Config/TimeoutSeconds$超时监视器无活动的超时值(以秒为单位)。

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>