System Center 2012 Virtual Machine Manager VMM Agent Monitored By OpsMgr

Microsoft.SystemCenter.VirtualMachineManager.2012.VMMAgentMonitoredByOpsMgrMonitor (UnitMonitor)

Monitors wheher the VMM agent is monitored by Operations Manager

Knowledge Base article:

Summary

This monitor indicates whether or not the server managed by Virtual Machine Manager is also being monitored by Operations Manager.

Causes

This monitor is unhealthy if the server managed by Virtual Machine Manager is not being monitored by Operations Manager. To provide comprehensive health and performance monitoring and management pack reports, it is a best practice to deploy an Operations Manager agent on each computer on which a Virtual Machine Manager component is installed. This includes the Virtual Machine Manager management server, virtual machine hosts, library servers, database servers, and the Web server hosting the VMM Self-Service portal.

Resolutions

Install an Operations Manager agent on the applicable computer.

External

For instructions about how to deploy Operations Manager agents, see "How to Deploy the Operations Manager Agent for Agent-Management of Computers" ( http://go.microsoft.com/fwlink/?LinkId=268152).

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VMM Agent Not Monitored By Operations Manager
The VMM agent status is {1} on {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMAgentMonitoredByOpsMgrMonitor" Accessibility="Public" Target="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMAgentMonitoredByOpsMgrMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher"]/AgentStatus$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMAgentMonitoredByOpsMgrHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMAgentMonitoredByOpsMgrCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">Not Monitored</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">Not Monitored</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMM2012Discovery!Microsoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>