Тип монитора обнаружения перегрузки запросов сервера DNS в Windows Server 2016 версии 1709 и более поздних версий

Microsoft.Windows.DNSServer.2016.DetectServerQueryOverload.UnitMonitorType (UnitMonitorType)

Этот монитор выполняет обнаружение перегруженных DNS-серверов. Если в течение заданного интервала на DNS-сервер поступает число запросов, превышающее настроенное пороговое значение, этот монитор переходит в красное состояние.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.DNSServer.2016.DNSServerStatistics.DS Default
Critical.CD ConditionDetection System.ExpressionFilter Default
DeltaCondition ConditionDetection System.Performance.DeltaValueCondition Default
Healthy.CD ConditionDetection System.ExpressionFilter Default
Mapper ConditionDetection System.Performance.DataGenericMapper Default
Warning.CD ConditionDetection System.ExpressionFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
QPS_THRESHOLD_YELLOWdouble$Config/QPS_THRESHOLD_YELLOW$Порог предупреждения изменения полученных запросов
QPS_THRESHOLD_REDdouble$Config/QPS_THRESHOLD_RED$Критический порог изменения полученных запросов
IntervalSecondsint$Config/IntervalSeconds$Интервал (с)
SyncTimestring$Config/SyncTime$Время синхронизации
TimeoutSecondsint$Config/TimeoutSeconds$Время ожидания (с)

Source Code:

<UnitMonitorType ID="Microsoft.Windows.DNSServer.2016.DetectServerQueryOverload.UnitMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Healthy" NoDetection="false"/>
<MonitorTypeState ID="Warning" NoDetection="false"/>
<MonitorTypeState ID="Critical" NoDetection="false"/>
</MonitorTypeStates>
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="ComputerName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="QPS_THRESHOLD_YELLOW" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="QPS_THRESHOLD_RED" type="xsd:double"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="0" name="SyncTime" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" minOccurs="1" name="TimeoutSeconds" type="xsd:integer"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="QPS_THRESHOLD_YELLOW" Selector="$Config/QPS_THRESHOLD_YELLOW$" ParameterType="double"/>
<OverrideableParameter ID="QPS_THRESHOLD_RED" Selector="$Config/QPS_THRESHOLD_RED$" ParameterType="double"/>
<OverrideableParameter ID="IntervalSeconds" Selector="$Config/IntervalSeconds$" ParameterType="int"/>
<OverrideableParameter ID="SyncTime" Selector="$Config/SyncTime$" ParameterType="string"/>
<OverrideableParameter ID="TimeoutSeconds" Selector="$Config/TimeoutSeconds$" ParameterType="int"/>
</OverrideableParameters>
<MonitorImplementation>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.Windows.DNSServer.2016.DNSServerStatistics.DS">
<ComputerName>$Config/ComputerName$</ComputerName>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="Mapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>ServerQueryOverloadMonitor</ObjectName>
<CounterName>TotalQueries</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='TotalQueries']$</Value>
</ConditionDetection>
<ConditionDetection ID="DeltaCondition" TypeID="Performance!System.Performance.DeltaValueCondition">
<NumSamples>1</NumSamples>
<Absolute>true</Absolute>
</ConditionDetection>
<ConditionDetection ID="Healthy.CD" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/QPS_THRESHOLD_YELLOW$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Less</Operator>
<ValueExpression>
<Value Type="Double">$Config/QPS_THRESHOLD_RED$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Warning.CD" TypeID="System!System.ExpressionFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/QPS_THRESHOLD_YELLOW$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>LessEqual</Operator>
<ValueExpression>
<Value Type="Double">$Config/QPS_THRESHOLD_RED$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Critical.CD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Greater</Operator>
<ValueExpression>
<Value Type="Double">$Config/QPS_THRESHOLD_RED$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<RegularDetection MonitorTypeStateID="Critical">
<Node ID="Critical.CD">
<Node ID="DeltaCondition">
<Node ID="Mapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Warning">
<Node ID="Warning.CD">
<Node ID="DeltaCondition">
<Node ID="Mapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
<RegularDetection MonitorTypeStateID="Healthy">
<Node ID="Healthy.CD">
<Node ID="DeltaCondition">
<Node ID="Mapper">
<Node ID="DS"/>
</Node>
</Node>
</Node>
</RegularDetection>
</RegularDetections>
</MonitorImplementation>
</UnitMonitorType>