Web 管理服務可用性

Microsoft.Windows.InternetInformationServices.10.0.RemoteAdmin.NTService.CheckServiceState.Monitor (UnitMonitor)

Knowledge Base article:

摘要

此監視器會檢查 Web 管理服務 (WMSvc) 的狀態。如果您接收到此監視的警示,則需要執行動作才能將服務帶回操作狀態。

操作狀態:

Web 管理服務 (WMSvc) 可能處於「服務正在執行」或「服務未執行」的操作狀態。

設定

監視器會採用一個單一組態參數,其負責控制當服務的啟動類型未設為「自動」時,是否應監視該服務。依預設,只會在服務的啟動類型為「自動」時才會監視該服務。您可以在必要時予以調整。

原因

服務可能會因許多原因而停止,其中包括:

解決方式

若 Web 管理服務 (WMSvc) 未執行,您可以採取下列動作來診斷問題或重新啟動服務:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WMService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Web 管理服務已停止
Web 管理服務已停止。這會造成無法遠端管理 Web 伺服器。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.RemoteAdmin.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WMService" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.RemoteAdmin.NTService.CheckServiceState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</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>WMSvc</ServiceName>
</Configuration>
</UnitMonitor>