Microsoft Windows Server DNS ゾーン NSLookup

Microsoft.Windows.DNSServer.2016.Zone.NSLookup (UnitMonitor)

NSLookup で localhost 上のゾーンをテストします

Knowledge Base article:

概要

localhost からゾーンへのクエリを試行します。

構成

間隔 (秒):このモニターが NSLOOKUP を実行する間隔です。

スクリプト タイムアウト (秒):SCOM が許容する、スクリプトが終了するまでの合計の実行時間です。

クエリ タイムアウト (秒):NSLOOKUP の -timeout オプションに使用されます。

クエリの種類:NSLOOKUP の -querytype オプションに使用されます。許容されている値はA、CNAME、PTR、NS、SOA です。

ホスト名:NSLOOKUP の解決対象のホスト レコードです。

サーバー:NSLOOKUP がクエリを送るサーバーです。

非権限の承認:SCOM が NSLOOKUP への権限のない応答を承認するかどうかを指定します。

原因

NSLOOKUP がゾーン名解決に失敗しました。

解決方法

ゾーンが起動していて、DNS サービスが開始されていることを確認します。

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.NSLookup.Monitor
RemotableTrue
AccessibilityPublic
Alert Message
Windows DNS - ゾーンの NS レコードに対する NSLookup が失敗しました

ゾーン:{0}
サーバー:{1}
警告は、モニターに対する内部エラーを示しています。
重大は、NSLookup が失敗したことを示しています。
詳細については、ヘルス エクスプローラーをご覧ください。
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Zone.NSLookup" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Zone" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Microsoft.Windows.DNSServer.2016.NSLookup.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DNSServer.2016.Zone.NSLookup_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Zone"]/ZoneName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdebf86afdf7e54ef2ba2e4cb6e459cb34" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIda10eb60a16594b7babecb1d6daa959b2" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdd6219920ddd945b59cd46731d932cffe" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>902</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>NS</QueryType>
<HostName>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Zone"]/ZoneName$.</HostName>
<Server>127.0.0.1</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>