System Center 2012 Virtual Machine Manager AgentService

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

Monitors the state of the System Center Virtual Machine Manager Agent service (VMMAgent.exe)

Knowledge Base article:

Summary

The Agent Service monitor indicates the availability of the Virtual Machine Manager Agent service on a managed virtual machine host or a library server. If the VMM agent 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 library server or host indicates the Virtual Machine Manager Agent service is not running on the server.

Resolutions

An unhealthy state for this library server or host indicates the Virtual Machine Manager Agent service is not running on the server.

1

Restart the Virtual Machine Manager Agent service on the host or library server. You can do this by using Services in Administrative Tools on the server, or you can do this from the VMM console by using the procedure that follows this one.

2

If restarting the Virtual Machine Manager agent does not resolve the issue:

Ensure that the host or library server is online.

Ensure that the VMM management server can connect to the host or library server.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.HostAgent
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Virtual Machine Manager agent service stopped
The System Center Virtual Machine Manager Agent service has stopped on the computer. Computer name: {0}
RunAsDefault

Source Code:

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