AD Show Replication Check Monitor Type

Microsoft.Windows.Server.2016.AD.Availability.ReplicationShowReplCheck.Monitortype (UnitMonitorType)

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
ScriptDS DataSource Microsoft.Windows.Server.2016.AD.Availability.ReplicationShowReplCheck.DataSource Default
FilterError ConditionDetection System.ExpressionFilter Default
FilterSuccess ConditionDetection System.ExpressionFilter Default
FilterWarn ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
IntervalSecondsint$Config/IntervalSeconds$Interval (sec)
ReplLatencyThresholdint$Config/ReplLatencyThreshold$Max Replication Latency (min)
TimeoutSecondsint$Config/TimeoutSeconds$Timeout Seconds
RootDSEReplLatencyThresholdint$Config/RootDSEReplLatencyThreshold$Max Replication Latency RootDSE (min)

Source Code:

<UnitMonitorType ID="Microsoft.Windows.Server.2016.AD.Availability.ReplicationShowReplCheck.Monitortype" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ReplicationShowReplCheckOK" NoDetection="false"/>
<MonitorTypeState ID="ReplicationShowReplCheckWarn" NoDetection="false"/>
<MonitorTypeState ID="ReplicationShowReplCheckError" 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="ReplLatencyThreshold" type="xsd:int"/>
<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="RootDSEReplLatencyThreshold" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="ReplLatencyThreshold" Selector="$Config/ReplLatencyThreshold$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="RootDSEReplLatencyThreshold" Selector="$Config/RootDSEReplLatencyThreshold$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptDS" TypeID="Microsoft.Windows.Server.2016.AD.Availability.ReplicationShowReplCheck.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<ReplLatencyThreshold>$Config/ReplLatencyThreshold$</ReplLatencyThreshold>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<RootDSEReplLatencyThreshold>$Config/RootDSEReplLatencyThreshold$</RootDSEReplLatencyThreshold>
</DataSource>
<ConditionDetection ID="FilterSuccess" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>GOOD</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarn" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>WARN</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterError" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>BAD</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ReplicationShowReplCheckOK">
<Node ID="FilterSuccess">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ReplicationShowReplCheckWarn">
<Node ID="FilterWarn">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ReplicationShowReplCheckError">
<Node ID="FilterError">
<Node ID="ScriptDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>