Liaison LDAP - Type d'analyse
Microsoft.Windows.Server.LDS.Service.LDAPBind.MonitorType (UnitMonitorType)
Element properties:
Member Modules:
Overrideable Parameters:
Source Code:
<UnitMonitorType ID="Microsoft.Windows.Server.LDS.Service.LDAPBind.MonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="LDAPBindOK" NoDetection="false"/>
<MonitorTypeState ID="LDAPBindWarning" NoDetection="false"/>
<MonitorTypeState ID="LDAPBindError" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element name="IntervalSeconds" type="xsd:int"/>
<xsd:element name="TimeoutSeconds" type="xsd:int"/>
<xsd:element name="PortNumber" type="xsd:int"/>
<xsd:element name="UseSSL" type="xsd:boolean"/>
<xsd:element name="LogSuccessEvent" type="xsd:boolean"/>
<xsd:element name="WarningThreshold" type="xsd:int"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
<OverrideableParameter ID="LogSuccessEvent" Selector="$Config/LogSuccessEvent$" ParameterType="bool"/>
<OverrideableParameter ID="WarningThreshold" Selector="$Config/WarningThreshold$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="PerfDS" TypeID="LDS!Microsoft.Windows.Server.LDS.Service.LDAPBind.DataSource">
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<PortNumber>$Config/PortNumber$</PortNumber>
<Hostname>localhost</Hostname>
<NamingContext>RootDSE</NamingContext>
<UseSSL>$Config/UseSSL$</UseSSL>
<WarningThreshold>$Config/WarningThreshold$</WarningThreshold>
<LogSuccessEvent>$Config/LogSuccessEvent$</LogSuccessEvent>
</DataSource>
<ConditionDetection ID="FilterOK" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='ConnectSuccess']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>True</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='BindTime']</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterWarn" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='ConnectSuccess']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>True</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Property[@Name='BindTime']</XPathQuery>
</ValueExpression>
<Operator>GreaterEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/WarningThreshold$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="FilterError" TypeID="System!System.ExpressionFilter">
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Property[@Name='ConnectSuccess']</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>False</Pattern>
</RegExExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="LDAPBindOK">
<Node ID="FilterOK">
<Node ID="PerfDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="LDAPBindWarning">
<Node ID="FilterWarn">
<Node ID="PerfDS"/>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="LDAPBindError">
<Node ID="FilterError">
<Node ID="PerfDS"/>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>