System Center 2012 Virtual Machine Manager WinRMService targeted against Host

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

Monitors the state of the Windows Remote Management (winrm) service that is targeted against the host

Knowledge Base article:

Summary

The WinRM Service monitor indicates the availability of the WinRM service on a managed host. If the WinRM service is not running, the monitor is in a critical state (Red). If the state is unknown, monitoring has not yet begun for the server.

Causes

An unhealthy state for this host indicates that the WinRM service is not running on the server.

Resolutions

Ensure that the WinRM service on the host is in a running state. You can do this by using the Services in Administrative Tools on the server.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.HyperVHost
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
WinRM Service stopped
The Windows Remote Management (WS-Management) service has stopped on a computer. Computer name: {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.HostWinRMService.Monitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.HyperVHost" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Enabled="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.HostWinRMService.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>