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

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.

A critical Virtual Machine Manager Agent service stopped alert is generated when this monitor is in a critical state. The alert is resolved automatically when the monitor returns to a healthy state.

Causes

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

Resolutions

To troubleshoot an unhealthy state for the Agent Service monitor:

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 Operations 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 server can connect to the host or library server.

To restart a Virtual Machine Manager agent from Operations Manager:

1

In the Operations Console, click Monitoring.

2

In the Monitoring Explorer, expand Virtual Machine Manager, and then click Agent Health.

3

In the results pane, select the computer on which the Virtual Machine Manager agent is deployed. Then, in Actions pane, under Virtual Machine Manager 2007 Agent Tasks, click Start Agent.

External

Virtual Machine Manager TechNet Library (http://go.microsoft.com/fwlink/?LinkId=99096)

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2007.Agent
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 windows service for Virtual Machine Manager agent has stopped on computer {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2007.AgentService.Monitor" Accessibility="Public" Target="Microsoft.SystemCenter.VirtualMachineManager.2007.Agent" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2007.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="Sucess"/>
<OperationalState HealthState="Error" MonitorTypeStateID="NotRunning" ID="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>VMMAgent</ServiceName>
</Configuration>
</UnitMonitor>