測試伺服器繫結的每個 IP 位址
DNS 伺服器可繫結為接聽多個 IP 位址。 此監視器會針對無論伺服器是否已設定區域和/或轉寄站都應成功的 PTR 記錄 127.0.0.1,測試每個個別的 IP 位址。
間隔秒數:此監視器執行 NSLOOKUP 的間隔時間。
指令碼逾時秒數:SCOM 允許指令碼在終止前的執行時間總計。
查詢逾時秒數:用於 NSLOOKUP 的 -timeout 選項。
查詢類型:用於 NSLOOKUP 的 -querytype 選項。 可接受的值為:A、CNAME、PTR、NS 或 SOA。
主機名稱:要由 NSLOOKUP 解析的主機記錄。
伺服器:NSLOOKUP 查詢導向的伺服器。
接受非代表性:SCOM 是否要接受 NSLOOKUP 的非代表性回應。
NSLOOKUP 無法解析 127.0.0.1
請確認 DNS 伺服器已啟動並繫結為接聽所有 IP 位址或此監視器設為目標的 IP 位址。
Target | Microsoft.Windows.Server.DNS.Server.IPAddress | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.Server.DNS.NSLookup.Monitor | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Microsoft.Windows.Server.DNS.ActionAccount |
<UnitMonitor ID="Microsoft.Windows.Server.DNS.IPAddress.NSLookup" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.DNS.Server.IPAddress" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RunAs="Microsoft.Windows.Server.DNS.ActionAccount" TypeID="Microsoft.Windows.Server.DNS.NSLookup.Monitor" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.DNS.IPAddress.NSLookup_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIdb3cadfd895b84ca7919d8b5b414d249b" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="UIGeneratedOpStateId373f94c4ba054e8cae46db6430d2c670" MonitorTypeStateID="InternalScriptError" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId5f3ec1d3c1084903b2c184c4691d5146" MonitorTypeStateID="QueryFailure" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>901</IntervalSeconds>
<ScriptTimeoutSeconds>300</ScriptTimeoutSeconds>
<QueryTimeoutSeconds>10</QueryTimeoutSeconds>
<QueryType>PTR</QueryType>
<HostName>127.0.0.1</HostName>
<Server>$Target/Property[Type="Microsoft.Windows.Server.DNS.Server.IPAddress"]/IPAddress$</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>