Microsoft Windows Server DNS フォワーダー条件付き転送 (Localhost NSLookup)

Microsoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward.Localhost.NSLookup (UnitMonitor)

フォワーダーをテストするため、localhost に対して NSLookup を実行します。

Knowledge Base article:

概要

このモニターは、NSLookUp に基づいて Windows Server DNS 条件付きフォワーダーを確認します。

構成

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

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

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

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

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

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

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

Element properties:

TargetMicrosoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward
Parent MonitorMicrosoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward.NSLookup
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.DNSServer.2016.NSLookup.Monitor
RemotableTrue
AccessibilityPublic
RunAsMicrosoft.Windows.DNSServer.2016.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward.Localhost.NSLookup" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward" ParentMonitorID="Microsoft.Windows.DNSServer.2016.Forwarder.Conditional.Forward.NSLookup" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.DNSServer.2016.ActionAccount" TypeID="Microsoft.Windows.DNSServer.2016.NSLookup.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateId13f01508a0204607a7aaf3a7195b5969" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateIdefdf65ea527348e9909a847cdd94f616" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateIdcc389f5ae1404a8ebb753daeb7879874" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>904</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>A</QueryType>
<HostName>$Target/Property[Type="Microsoft.Windows.DNSServer.2016.Forwarder"]/DomainName$.</HostName>
<Server>127.0.0.1</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>