LiebermanSoftware.ERPMMP.DBUnitMonitorType

LiebermanSoftware.ERPMMP.DBUnitMonitorType (UnitMonitorType)

Monitor the health of ERPM database.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateTrue

Member Modules:

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

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
TimeoutSecondsint$Config/TimeoutSeconds$TimeoutSeconds
IntervalSecondsint$Config/IntervalSeconds$IntervalSeconds
DBPercentint$Config/DBPercent$DBPercent

Source Code:

<UnitMonitorType ID="LiebermanSoftware.ERPMMP.DBUnitMonitorType" 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="DBSource" type="xsd:string"/>
<xsd:element minOccurs="1" name="DBName" type="xsd:string"/>
<xsd:element minOccurs="1" name="SQLUserName" type="xsd:string"/>
<xsd:element minOccurs="1" name="SQLPassword" type="xsd:string"/>
<xsd:element minOccurs="1" default="90" name="DBPercent" type="xsd:integer"/>
<xsd:element minOccurs="1" default="300" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element minOccurs="0" name="SecureInput" type="xsd:string"/>
<xsd:element minOccurs="1" default="300" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="DBPercent" Selector="$Config/DBPercent$" ParameterType="int"/>
<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.DBDataSourceModuleType">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<DBSource>$Config/DBSource$</DBSource>
<DBName>$Config/DBName$</DBName>
<DBPercent>$Config/DBPercent$</DBPercent>
<SQLUserName>$Config/SQLUserName$</SQLUserName>
<SQLPassword>$Config/SQLPassword$</SQLPassword>
</DataSource>
<ProbeAction ID="Probe" TypeID="LiebermanSoftware.ERPMMP.DBProbeActionModuleType">
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<DBSource>$Config/DBSource$</DBSource>
<DBName>$Config/DBName$</DBName>
<DBPercent>90</DBPercent>
<SQLUserName>$Config/SQLUserName$</SQLUserName>
<SQLPassword>$Config/SQLPassword$</SQLPassword>
</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>