Stato dell'host VMM di System Center 2012 Virtual Machine Manager

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

Consente di monitorare lo stato dell'host VMM

Knowledge Base article:

Riepilogo

Il monitoraggio dello stato dell'host indica se un host di virtualizzazione gestito da Virtual Machine Manager (VMM) si trova in uno stato che richiede attenzione da parte dell'amministratore. Uno stato sconosciuto indica che il monitoraggio per l'host di virtualizzazione non è ancora iniziato.

Cause

Questo monitoraggio entra in uno stato critico quando un host viene contrassegnato con richiesta di attenzione da Virtual Machine Manager.

Soluzioni

Nella console di Virtual Machine Manager, individuare nell'infrastruttura l'host con richiesta di attenzione e accedere alla scheda sullo stato relativa alle proprietà di tale host per risolvere efficacemente il problema che richiede attenzione.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.VMHost
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
Stato dell'host VMM non integro
Lo stato dell'host VMM {0} è {1} e non è OK
RunAsDefault

Source Code:

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