Тип монитора "Размер базы данных Active Directory"

AD_Database_and_Log_DB.Monitortype (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource AD_Database_and_Log.DataSource Default
FilterNotOK ConditionDetection System.ExpressionFilter Default
FilterOK ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Интервал (сек.)
LogSuccessEventstring$Config/LogSuccessEvent$Регистрация успешного события
Threshold_DITstring$Config/Threshold_DIT$Threshold_DIT
Boundary_DITstring$Config/Boundary_DIT$Boundary_DIT
Boundary_LOGstring$Config/Boundary_LOG$Boundary_LOG
Threshold_LOGstring$Config/Threshold_LOG$Threshold_LOG
TimeoutSecondsint$Config/TimeoutSeconds$Время ожидания (с)

Source Code:

<UnitMonitorType ID="AD_Database_and_Log_DB.Monitortype" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="DBandLog_DBOK" NoDetection="false"/>
<MonitorTypeState ID="DBandLog_DBWarn" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="IntervalSeconds" type="xsd:int"/>
<xsd:element name="TargetComputerName" type="xsd:string"/>
<xsd:element name="TargetNetbiosDomain" type="xsd:string"/>
<xsd:element name="LogSuccessEvent" type="xsd:boolean"/>
<xsd:element name="ManagementGroupName" type="xsd:string"/>
<xsd:element name="Threshold_DIT" type="xsd:string"/>
<xsd:element name="Boundary_DIT" type="xsd:string"/>
<xsd:element name="Boundary_LOG" type="xsd:string"/>
<xsd:element name="Threshold_LOG" type="xsd:string"/>
<xsd:element name="TimeoutSeconds" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LogSuccessEvent" Selector="$Config/LogSuccessEvent$" ParameterType="string"/>
<OverrideableParameter ID="Threshold_DIT" Selector="$Config/Threshold_DIT$" ParameterType="string"/>
<OverrideableParameter ID="Boundary_DIT" Selector="$Config/Boundary_DIT$" ParameterType="string"/>
<OverrideableParameter ID="Boundary_LOG" Selector="$Config/Boundary_LOG$" ParameterType="string"/>
<OverrideableParameter ID="Threshold_LOG" Selector="$Config/Threshold_LOG$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptDS" TypeID="AD!AD_Database_and_Log.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TargetComputerName>$Config/TargetComputerName$</TargetComputerName>
<TargetNetbiosDomain>$Config/TargetNetbiosDomain$</TargetNetbiosDomain>
<LogSuccessEvent>$Config/LogSuccessEvent$</LogSuccessEvent>
<ManagementGroupName>$Config/ManagementGroupName$</ManagementGroupName>
<Threshold_DIT>$Config/Threshold_DIT$</Threshold_DIT>
<Boundary_DIT>$Config/Boundary_DIT$</Boundary_DIT>
<Boundary_LOG>$Config/Boundary_LOG$</Boundary_LOG>
<Threshold_LOG>$Config/Threshold_LOG$</Threshold_LOG>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="FilterOK" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='StateDBSIZE']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>GOOD</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterNotOK" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='StateDBSIZE']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>BAD</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="DBandLog_DBOK">
<Node ID="FilterOK">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="DBandLog_DBWarn">
<Node ID="FilterNotOK">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>