DNS 處理程序監視器

Microsoft.Windows.Server.2012.R2.AD.PerformanceEssentialServices.DNS.Monitor (UnitMonitor)

監視 DNS 處理程序的 CPU 使用率。

Knowledge Base article:

摘要

DNS 處理程序監視器。已整合 Active Directory 網域服務之 DNS 的 DNS 處理程序佔用大量的 CPU 資源。

如果伺服器上的整體 CPU 使用率過高,DNS 要求可能會延遲。

原因

可能的原因如下:

解決方式

檢視電腦的整體系統效能,以判斷是否需要額外的資源。

新增額外的網域控制站有助於達到負載平衡。

請確定代管 DNS 的 DC 數目足夠。

外部

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.AD.DomainController.DNS
Parent MonitorSystem.Health.PerformanceState
CategoryCustom
EnabledTrue
Instance NameProcess
Counter Name\% Processor Time
Frequency300
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeSystem.Performance.AverageThreshold
RemotableTrue
AccessibilityPublic
Alert Message
DNS 處理程序已超過處理程序使用率閾值。
DNS 處理程序在多個樣本上的平均 CPU 使用率:{3} \%
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2012.R2.AD.PerformanceEssentialServices.DNS.Monitor" Accessibility="Public" Enabled="true" Target="AD2012R2Core!Microsoft.Windows.Server.2012.R2.AD.DomainController.DNS" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" TypeID="SystemPerf!System.Performance.AverageThreshold" ConfirmDelivery="false">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2012.R2.AD.PerformanceEssentialServices.DNS.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data[Default='']/Context/InstanceName$</AlertParameter1>
<AlertParameter2>$Data[Default='']/Context/ObjectName$</AlertParameter2>
<AlertParameter3>$Data[Default='']/Context/CounterName$</AlertParameter3>
<AlertParameter4>$Data[Default='']/Context/Value$</AlertParameter4>
<AlertParameter5>$Data[Default='']/Context/TimeSampled$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="DNSLoadOk" MonitorTypeStateID="UnderThreshold" HealthState="Success"/>
<OperationalState ID="DNSLoadError" MonitorTypeStateID="OverThreshold" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% Processor Time</CounterName>
<ObjectName>Process</ObjectName>
<InstanceName>dns</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Threshold>80</Threshold>
<NumSamples>10</NumSamples>
</Configuration>
</UnitMonitor>