System Center 2019+ Virtual Machine Manager VMM Connect Virtual Center

Microsoft.SystemCenter.VirtualMachineManager.VMMConnectVirtualCenterMonitor (UnitMonitor)

Monitoruje stav připojení služby VMM k systému VMware vCenter

Knowledge Base article:

Souhrn

Sledování připojení nástroje Virtual Center naznačuje, zda se může server VMM připojit k jednomu nebo více registrovaným serverům VMware vCenter.

Příčiny

Sledování přejde do stavu Není v pořádku, pokud se server VMM nedokáže připojit k určenému serveru vCenter.

Řešení

Ujistěte se, že je server vCenter online a je dosažitelný serverem VMM na portu TCP/IP používaném pro připojení k serveru vCenter (výchozí port je 443). Rovněž se ujistěte, zda je účet správce používaný k připojení platný a povolený.

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.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Připojení služby VMM k serveru VCS se nezdařilo
Služba VMM se nepřipojila k serveru VMware vCenter Server {0}. Její stav je {1}.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.VMMConnectVirtualCenterMonitor" Accessibility="Public" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualCenterServer" TypeID="Microsoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.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>