Server DNS Windows 2016 e 1709+: riscontri limite cache

Microsoft.Windows.DNSServer.2016.Monitor.CacheLimitHit (UnitMonitor)

Monitora le dimensioni della cache configurata

Knowledge Base article:

Riepilogo

Monitoraggio basato su eventi che monitora il limite configurato per la cache.

Cause

Stato di avviso

Attivato dall'evento con ID 7688. Causa: le dimensioni della cache nel server DNS hanno raggiunto il limite configurato. Durante il tentativo di riportare le dimensioni della cache entro il limite configurato è stato generato un evento dal thread di ricorsione. Nel sistema potrebbero verificarsi picchi di utilizzo della CPU.

Stato critico

Attivato dall'evento con ID 7689. Causa: le dimensioni della cache nel server DNS hanno raggiunto il limite configurato. Durante il tentativo di riportare le dimensioni della cache entro il limite configurato è stato avviato un thread di timeout. Nel sistema potrebbero verificarsi picchi di utilizzo della CPU.

Lo stato integro potrebbe essere attivato dall'evento con ID 7690: le dimensioni della cache nel server DNS sono state portate entro il limite configurato.

Soluzioni

Il server DNS eseguirà automaticamente lo scavenging e se necessario scaricherà la cache per portarla al di sotto del limite configurato. Gli utenti potrebbero riscontrare picchi di utilizzo della CPU. Se questo errore è troppo frequente, controllare il limite configurato per la cache. Se è troppo basso per la distribuzione usata, modificarlo di conseguenza.

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Server
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.3SingleEventLog3StateUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Server DNS Windows 2016 e 1709+: avviso monitoraggio riscontri limite cache

ID evento: {0}
Origine evento: {1}
Registro eventi: {2}
Descrizione evento: {3}
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Monitor.CacheLimitHit" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Server" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2016.Monitor.CacheLimitHit_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDisplayNumber$</AlertParameter1>
<AlertParameter2>$Data/Context/EventSourceName$</AlertParameter2>
<AlertParameter3>$Data/Context/Channel$</AlertParameter3>
<AlertParameter4>$Data/Context/EventDescription$</AlertParameter4>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="WarningState" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="ErrorState" MonitorTypeStateID="SecondEventRaised" HealthState="Error"/>
<OperationalState ID="SuccessState" MonitorTypeStateID="ThirdEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DNS Server</FirstLogName>
<FirstExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7688</Value>
</ValueExpression>
</SimpleExpression>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DNS Server</SecondLogName>
<SecondExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7689</Value>
</ValueExpression>
</SimpleExpression>
</SecondExpression>
<ThirdComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ThirdComputerName>
<ThirdLogName>DNS Server</ThirdLogName>
<ThirdExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">7690</Value>
</ValueExpression>
</SimpleExpression>
</ThirdExpression>
</Configuration>
</UnitMonitor>