LiebermanSoftware.ERPMMP.WebUnitMonitorType

LiebermanSoftware.ERPMMP.WebUnitMonitorType (UnitMonitorType)

Monitor the health of ERPM web.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
DataSource DataSource LiebermanSoftware.ERPMMP.WebDataSourceModuleType Default
Probe ProbeAction LiebermanSoftware.ERPMMP.WebProbeActionModuleType Default
ErrorFilter ConditionDetection System.ExpressionFilter Default
SuccessFilter ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
URLstring$Config/URL$URL
HttpPortstring$Config/HttpPort$HttpPort
HttpsPortstring$Config/HttpsPort$HttpsPort
IntervalSecondsint$Config/IntervalSeconds$IntervalSeconds
TimeoutSecondsint$Config/TimeoutSeconds$TimeoutSeconds

Source Code:

<UnitMonitorType ID="LiebermanSoftware.ERPMMP.WebUnitMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Success" NoDetection="false"/>
<MonitorTypeState ID="Error" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<IncludeSchemaTypes>
<SchemaType>System!System.ExpressionEvaluatorSchema</SchemaType>
<SchemaType>System!System.CommandExecuterSchema</SchemaType>
</IncludeSchemaTypes>
<xsd:element minOccurs="1" name="WebInstance" type="xsd:string"/>
<xsd:element minOccurs="1" name="URL" type="xsd:string"/>
<xsd:element minOccurs="1" default="80" name="HttpPort" type="xsd:string"/>
<xsd:element minOccurs="1" default="443" name="HttpsPort" type="xsd:string"/>
<xsd:element minOccurs="1" default="300" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="1" default="300" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="URL" Selector="$Config/URL$" ParameterType="string"/>
<OverrideableParameter ID="HttpPort" Selector="$Config/HttpPort$" ParameterType="string"/>
<OverrideableParameter ID="HttpsPort" Selector="$Config/HttpsPort$" ParameterType="string"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DataSource" TypeID="LiebermanSoftware.ERPMMP.WebDataSourceModuleType">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<WebInstance>$Config/WebInstance$</WebInstance>
<URL>$Config/URL$</URL>
<HttpPort>$Config/HttpPort$</HttpPort>
<HttpsPort>$Config/HttpsPort$</HttpsPort>
</DataSource>
<ProbeAction ID="Probe" TypeID="LiebermanSoftware.ERPMMP.WebProbeActionModuleType">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<WebInstance>$Config/WebInstance$</WebInstance>
<URL>$Config/URL$</URL>
<HttpPort>$Config/HttpPort$</HttpPort>
<HttpsPort>$Config/HttpsPort$</HttpsPort>
</ProbeAction>
<ConditionDetection ID="ErrorFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">GOOD</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="SuccessFilter" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">GOOD</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Success">
<Node ID="SuccessFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Error">
<Node ID="ErrorFilter">
<Node ID="DataSource"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="Success">
<Node ID="SuccessFilter">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
<OnDemandDetection MonitorTypeStateID="Error">
<Node ID="ErrorFilter">
<Node ID="Probe"/>
</Node>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>