Tipo de monitor de disponibilidade de dois estados profundos do aplicativo por meio de consulta MBean
Microsoft.JEE.Deep.Application.TwoState.Query.AvailabilityHealth.MonitorType (UnitMonitorType)
Monitora o estado dos aplicativos implantados por consulta a propriedades MBean.
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.JEE.Deep.Application.TwoState.Query.AvailabilityHealth.MonitorType" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="Healthy" NoDetection="false"/>
<MonitorTypeState ID="NotHealthy" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
</IncludeSchemaTypes>
<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="JMXQuery" type="xsd:string"/>
<xsd:element name="AdditionalArguments" type="xsd:string"/>
<xsd:element name="RequestBody" type="xsd:string"/>
<xsd:element name="HealthyExpression" type="ExpressionType"/>
<xsd:element name="NotHealthyExpression" type="ExpressionType"/>
<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.Monitoring.UrlProbe.MBeans.DataSource">
<ComputerName>$Config/ComputerName$</ComputerName>
<Protocol>$Config/Protocol$</Protocol>
<Port>$Config/Port$</Port>
<BaseURL>$Config/BaseURL$</BaseURL>
<JMXQuery>$Config/JMXQuery$</JMXQuery>
<AdditionalArguments>$Config/AdditionalArguments$</AdditionalArguments>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="CD_MatchHealthy" TypeID="System!System.ExpressionFilter">
<Expression>$Config/HealthyExpression$</Expression>
</ConditionDetection>
<ConditionDetection ID="CD_MatchNotHealthy" TypeID="System!System.ExpressionFilter">
<Expression>$Config/NotHealthyExpression$</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Healthy">
<Node ID="CD_MatchHealthy">
<Node ID="DS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="NotHealthy">
<Node ID="CD_MatchNotHealthy">
<Node ID="DS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>