World Wide Web Publishing Service tillgänglig

Microsoft.Windows.InternetInformationServices.6.2.WebServer.NTService.CheckServiceState.Monitor (UnitMonitor)

Knowledge Base article:

Sammanfattning

Den här övervakaren kontrollerar status för IIS-webbservertjänsten (W3SVC). Om du får ett meddelande från denna bildskärm, krävs åtgärder för att få tillbaka tjänsten till ett fungerande läge.

Operationella steg:

IIS-webbservertjänsten (W3SVC) kan antingen vara i driftsläget ”Tjänsten körs” eller ”Tjänsten körs inte”.

Konfiguration

Monitorn har en enda konfigurationsparameter som styr huruvida tjänsten bör övervakas när dess startmetod inte är inställd på "Automatisk". Som standard, kommer tjänsten att övervakas endast om startmetod är satt som "Automatisk". Detta kan ändras vid behov.

Orsaker

En tjänst kan stoppas av många orsaker, bland andra:

Lösningar

Om IIS-webbservertjänsten (W3SVC) har status ”Körs inte” kan du diagnostisera problemet eller starta om tjänsten genom att vidta följande åtgärder:

Starta Webbserver (W3SVC)-tjänsten

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
IIS 8-webbservern är otillgänglig
IIS 8-webbservern på {0} är inte tillgänglig.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebServer.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebServer.NTService.CheckServiceState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>W3SVC</ServiceName>
</Configuration>
</UnitMonitor>