IIS 可用性健全狀況狀態取決於 WMSvc 服務

Microsoft.Windows.InternetInformationServices.6.2.ServerRole.HealthDependsOn.Microsoft.Windows.InternetInformationServices.6.2.WMService.Availability.DependancyMonitor (DependencyMonitor)

Knowledge Base article:

摘要

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

操作狀態:

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

設定

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

原因

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

解決方式

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

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.ServerRole
Parent MonitorSystem.Health.AvailabilityState
AlgorithmWorstOf
Source MonitorSystem.Health.AvailabilityState
RelationshipMicrosoft.Windows.InternetInformationServices.6.2.ServerRole.Hosts.Microsoft.Windows.InternetInformationServices.6.2.WMService
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
RemotableTrue
AccessibilityPublic

Source Code:

<DependencyMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.HealthDependsOn.Microsoft.Windows.InternetInformationServices.6.2.WMService.Availability.DependancyMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ServerRole" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" RelationshipType="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.Hosts.Microsoft.Windows.InternetInformationServices.6.2.WMService" MemberMonitor="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>