Microsoft Windows Server DNS zon-NSLookup

Microsoft.Windows.Server.DNS.Zone.NSLookup (UnitMonitor)

Testar zonen på lokalvärden med NSLookup

Knowledge Base article:

Sammanfattning

Försök att fråga zonen från localhost.

Konfiguration

Intervallsekunder: Det intervall under vilket övervakaren utför en NSLOOKUP.

Sekunder för timeout för skript: Total tid som SCOM tillåter att skriptet körs innan det avslutas.

Sekunder för timeout för fråga: Används för alternativet -timeout i NSLOOKUP.

Frågetyp: Används för alternativet -querytype i NSLOOKUP. Acceptabla värden är. A, CNAME, PTR, NS, eller SOA.

Värdnamn: Värdnamnet som NSLOOKUP ska matcha.

Server: Den server som NSLOOKUP ska skicka frågan till.

Acceptera icke-auktoritativ: Om SCOM ska acceptera ett icke-auktoritativt svar till NSLOOKUP.

Orsaker

NSLOOKUP kunde inte matcha zonnamnet.

Lösningar

Se till att zonen är startad och att DNS-tjänsten är startad.

Element properties:

TargetMicrosoft.Windows.Server.DNS.Zone
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.DNS.NSLookup.Monitor
RemotableTrue
AccessibilityPublic
Alert Message
Windows DNS - NSLookup misslyckades för Zonens NS-post

Zon: {0} Server: {1} Varningen indikerar internt fel för övervakaren.
Critical indikerar att NSLookup misslyckades.

Se hälsoutforskaren för mer information.
RunAsMicrosoft.Windows.Server.DNS.ActionAccount

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.DNS.Zone.NSLookup" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.DNS.Zone" 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.Zone.NSLookup_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.Windows.Server.DNS.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.Server.DNS.Zone"]/ZoneName$.</HostName>
<Server>127.0.0.1</Server>
<AcceptNonAuthoritative>true</AcceptNonAuthoritative>
</Configuration>
</UnitMonitor>