测试服务器所绑定的每个 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>