EDC.Base.FileSizeMon.Monitortype (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityPublic
Support Monitor RecalculateTrue

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource EDC.Base.FileSizeMon.ScriptDataSource Default
OnDemandReset ProbeAction System.PassThroughProbe Default
FilterNotOk ConditionDetection System.ExpressionFilter Default
FilterOK ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelector
IntervalSecondsint$Config/IntervalSeconds$
SyncTimestring$Config/SyncTime$
Debugbool$Config/Debug$
DebugFileNamestring$Config/DebugFileName$
LogSuccessEventbool$Config/LogSuccessEvent$
ScriptGroupIdstring$Config/ScriptGroupId$
FileNamestring$Config/FileName$
ThresholdInBytedouble$Config/ThresholdInByte$
ThresholdIsMaxbool$Config/ThresholdIsMax$
FileNotExistIsGreenbool$Config/FileNotExistIsGreen$
ReplaceDblBackslashesbool$Config/ReplaceDblBackslashes$
TimeoutSecondsint$Config/TimeoutSeconds$

Source Code:

<UnitMonitorType ID="EDC.Base.FileSizeMon.Monitortype" Accessibility="Public">
<MonitorTypeStates>
<MonitorTypeState ID="MonitorOk" NoDetection="false"/>
<MonitorTypeState ID="MonitorNotOk" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Debug" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="DebugFileName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LogSuccessEvent" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ScriptGroupId" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="FileName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdInByte" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdIsMax" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="FileNotExistIsGreen" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ReplaceDblBackslashes" type="xsd:boolean"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="GOODPattern" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="BADPattern" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="Debug" Selector="$Config/Debug$" ParameterType="bool"/>
<OverrideableParameter ID="DebugFileName" Selector="$Config/DebugFileName$" ParameterType="string"/>
<OverrideableParameter ID="LogSuccessEvent" Selector="$Config/LogSuccessEvent$" ParameterType="bool"/>
<OverrideableParameter ID="ScriptGroupId" Selector="$Config/ScriptGroupId$" ParameterType="string"/>
<OverrideableParameter ID="FileName" Selector="$Config/FileName$" ParameterType="string"/>
<OverrideableParameter ID="ThresholdInByte" Selector="$Config/ThresholdInByte$" ParameterType="double"/>
<OverrideableParameter ID="ThresholdIsMax" Selector="$Config/ThresholdIsMax$" ParameterType="bool"/>
<OverrideableParameter ID="FileNotExistIsGreen" Selector="$Config/FileNotExistIsGreen$" ParameterType="bool"/>
<OverrideableParameter ID="ReplaceDblBackslashes" Selector="$Config/ReplaceDblBackslashes$" ParameterType="bool"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptDS" TypeID="EDC.Base.FileSizeMon.ScriptDataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<Debug>$Config/Debug$</Debug>
<DebugFileName>$Config/DebugFileName$</DebugFileName>
<LogSuccessEvent>$Config/LogSuccessEvent$</LogSuccessEvent>
<ScriptGroupId>$Config/ScriptGroupId$</ScriptGroupId>
<FileName>$Config/FileName$</FileName>
<ThresholdInByte>$Config/ThresholdInByte$</ThresholdInByte>
<ThresholdIsMax>$Config/ThresholdIsMax$</ThresholdIsMax>
<FileNotExistIsGreen>$Config/FileNotExistIsGreen$</FileNotExistIsGreen>
<ReplaceDblBackslashes>$Config/ReplaceDblBackslashes$</ReplaceDblBackslashes>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ProbeAction ID="OnDemandReset" TypeID="System!System.PassThroughProbe"/>
<ConditionDetection ID="FilterOK" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Config/GOODPattern$</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterNotOk" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>$Config/BADPattern$</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="MonitorOk">
<Node ID="FilterOK">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="MonitorNotOk">
<Node ID="FilterNotOk">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
</RegularDetections>
<OnDemandDetections>
<OnDemandDetection MonitorTypeStateID="MonitorOk">
<Node ID="OnDemandReset"/>
</OnDemandDetection>
</OnDemandDetections>
</MonitorImplementation>
</UnitMonitorType>