System Center 2012 Virtual Machine Manager VMM Connect Virtual Center

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

Monitors the state of the VMM connection to VMware vCenter

Knowledge Base article:

Summary

The Virtual Center connection monitor indicates whether or not VMM can connect to one or more registered VMware vCenter servers.

Causes

The monitor goes into an unhealthy state should VMM fail to connect to the specified vCenter server.

Resolutions

Ensure that the vCenter server is online and reachable by the VMM server on the TIP/IP port used for connections to the vCenter server (default is 443). Also ensure that the Administrative account used for the connection is valid and enabled.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.VirtualCenterServer
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 Failed to Connect to VCS
VMM did not connect to VMware vCenter Server {0}. Its state is {1}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMConnectVirtualCenterMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2012.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2012.VMMConnectVirtualCenterMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer"]/Name$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer"]/State$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMConnectVCHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMConnectVCCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>7200</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">OK</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer"]/State$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">OK</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer"]/State$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>