Server DNS Windows 2016 e 1709+: tipo di monitoraggio rilevamento overload di query nel server

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

Il monitoraggio rileva il server DNS in overload. Se in un server DNS vengono eseguite molte query in un determinato intervallo di tempo rispetto a una soglia configurata, il monitoraggio diventerà rosso.

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$Soglia di avviso delta query ricevute
QPS_THRESHOLD_REDdouble$Config/QPS_THRESHOLD_RED$Soglia critica delta query ricevute
IntervalSecondsint$Config/IntervalSeconds$Intervallo (secondi)
SyncTimestring$Config/SyncTime$Ora di sincronizzazione
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (secondi)

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>