Windows Server 2016 és 1709+-os DNS-kiszolgáló – Nem használt zónákat érzékelő figyelőtípus

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

Ez a figyelő érzékeli a nem használt zónákat egy DNS-kiszolgálón. Ha egy zónában hosszabb ideig nincs tevékenység, ez a figyelő figyelmeztetést küld.

Element properties:

RunAsDefault
AccessibilityInternal
Support Monitor RecalculateFalse

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.DNSServer.2016.DNSServerZoneQueryStatisticsFilterZones.DS 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
IntervalSecondsint$Config/IntervalSeconds$Intervallum hossza (mp)
SyncTimestring$Config/SyncTime$Szinkronizálási idő
TimeoutSecondsint$Config/TimeoutSeconds$Időkorlát (s)

Source Code:

<UnitMonitorType ID="Microsoft.Windows.DNSServer.2016.DetectUnusedZones.UnitMonitorType" Accessibility="Internal">
<MonitorTypeStates>
<MonitorTypeState ID="Healthy" NoDetection="false"/>
<MonitorTypeState ID="Warning" 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="ZoneName" type="xsd:string"/>
<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="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.DNSServerZoneQueryStatisticsFilterZones.DS">
<ComputerName>$Config/ComputerName$</ComputerName>
<ZoneName>$Config/ZoneName$</ZoneName>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
</DataSource>
<ConditionDetection ID="Mapper" TypeID="Performance!System.Performance.DataGenericMapper">
<ObjectName>UnusedZoneMonitor</ObjectName>
<CounterName>QueriesReceived</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='QueriesReceived']$</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>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="Double">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
<ConditionDetection ID="Warning.CD" TypeID="System!System.ExpressionFilter">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Double">Value</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Double">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</ConditionDetection>
</MemberModules>
<RegularDetections>
<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>