以 VMM 伺服器為目標的 System Center 2012 Virtual Machine Manager WinRM 服務

Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerWinRMService.Monitor (UnitMonitor)

監視以 VMM 管理伺服器為目標之 Windows 遠端管理 (WS-Management) 服務 的狀態

Knowledge Base article:

摘要

WinRM Service 監視會指出 VMM 伺服器上的 WinRM 服務可用性。 如果 WinRM 服務未執行,監視會處於重大狀態 (紅色)。 如果處於不明狀態,則是尚未開始監視伺服器。

原因

此 VMM 伺服器的狀況不良狀態表示 WinRM 服務未在伺服器上執行。

解決方式

確認主機上的 WinRM 服務處於執行中狀態。 您可以在伺服器上的 [系統管理工具] 中,使用 [服務] 來完成此動作。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.VMMManagementServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows 遠端管理 (WinRM) 服務已停止
電腦上的 Windows Remote Management (WS-Management) 服務已停止。 電腦名稱: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerWinRMService.Monitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.VMMManagementServer" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMServerWinRMService.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState HealthState="Success" MonitorTypeStateID="Running" ID="Success"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>WinRM</ServiceName>
</Configuration>
</UnitMonitor>