RunAs | Default |
Accessibility | Internal |
Support Monitor Recalculate | False |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptDS | DataSource | Microsoft.Windows.Server.2016.AD.Performance.BindTimes.DataSource | Default |
FilterNotOK | ConditionDetection | System.ExpressionFilter | Default |
FilterOK | ConditionDetection | System.ExpressionFilter | Default |
FilterWarn | ConditionDetection | System.ExpressionFilter | Default |
PerfAvgCond | ConditionDetection | System.Performance.AveragerCondition | Default |
PerfMapper | ConditionDetection | System.Performance.DataGenericMapper | Default |
PerfMapperSSL | ConditionDetection | System.Performance.DataGenericMapper | Default |
ID | ParameterType | Selector | Display Name | Description |
---|---|---|---|---|
IntervalSeconds | int | $Config/IntervalSeconds$ | Intervalo (s) | |
TimeoutSeconds | int | $Config/TimeoutSeconds$ | Tiempo de espera en segundos | |
MonitorBindType | int | $Config/MonitorBindType$ | Tipo de enlace que se realiza | 1) Enlace no-SSL, 2) enlace SSL, 3) enlaces SSL y no-SSL |
ThresholdWarnSec | int | $Config/ThresholdWarnSec$ | Umbral de duración de enlace en el que se desencadena una alerta de advertencia. | |
ThresholdErrorSec | int | $Config/ThresholdErrorSec$ | Umbral de duración de enlace en el que se desencadena una alerta de error. | |
NumSamples | int | $Config/NumSamples$ | Número de muestras |
<UnitMonitorType ID="Microsoft.Windows.Server.2016.AD.Performance.BindTimes.Monitortype" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="ResponseOK" NoDetection="false"/>
<MonitorTypeState ID="ResponseWarn" NoDetection="false"/>
<MonitorTypeState ID="ResponseError" 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="TimeoutSeconds" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitorBindType" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdWarnSec" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ThresholdErrorSec" type="xsd:int"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="NumSamples" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="MonitorBindType" Selector="$Config/MonitorBindType$" ParameterType="int"/>
<OverrideableParameter ID="ThresholdWarnSec" Selector="$Config/ThresholdWarnSec$" ParameterType="int"/>
<OverrideableParameter ID="ThresholdErrorSec" Selector="$Config/ThresholdErrorSec$" ParameterType="int"/>
<OverrideableParameter ID="NumSamples" Selector="$Config/NumSamples$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="ScriptDS" TypeID="Microsoft.Windows.Server.2016.AD.Performance.BindTimes.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<MonitorBindType>$Config/MonitorBindType$</MonitorBindType>
</DataSource>
<ConditionDetection ID="FilterOK" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ThresholdWarnSec$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarn" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/ThresholdWarnSec$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/ThresholdErrorSec$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterNotOK" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/ThresholdErrorSec$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="PerfMapper" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>ActiveDirectoryMP</ObjectName>
<CounterName>Active Directory Last Bind</CounterName>
<InstanceName>$data/Property[@Name='StatusInstance']$</InstanceName>
<Value>$data/Property[@Name='StatusValue']$</Value>
</ConditionDetection>
<ConditionDetection ID="PerfMapperSSL" TypeID="SystemPerf!System.Performance.DataGenericMapper">
<ObjectName>ActiveDirectoryMP</ObjectName>
<CounterName>Active Directory Last Bind</CounterName>
<InstanceName>$data/Property[@Name='StatusInstanceSSL']$</InstanceName>
<Value>$data/Property[@Name='StatusValue']$</Value>
</ConditionDetection>
<ConditionDetection ID="PerfAvgCond" TypeID="SystemPerf!System.Performance.AveragerCondition">
<NumSamples>$Config/NumSamples$</NumSamples>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="ResponseOK">
<Node ID="FilterOK">
<Node ID="PerfAvgCond">
<Node ID="PerfMapper">
<Node ID="ScriptDS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ResponseWarn">
<Node ID="FilterWarn">
<Node ID="PerfAvgCond">
<Node ID="PerfMapper">
<Node ID="ScriptDS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="ResponseError">
<Node ID="FilterNotOK">
<Node ID="PerfAvgCond">
<Node ID="PerfMapper">
<Node ID="ScriptDS"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>