System Center 2019+ Virtual Machine Manager — stan hosta programu VMM

Microsoft.SystemCenter.VirtualMachineManager.VMMHostStateMonitor (UnitMonitor)

Służy do monitorowania stanu hosta programu VMM

Knowledge Base article:

Podsumowanie

Monitor stanu hosta wskazuje, czy host wirtualizacji zarządzany przez program Virtual Machine Manager znajduje się w stanie wymagającym podjęcia działań przez administratora. Jeśli stan jest nieznany, monitorowanie hosta wirtualizacji nie zostało jeszcze rozpoczęte.

Przyczyny

Host, który został przez program Virtual Machine Manager oznaczony jako wymagający podjęcia działań, spowoduje zgłoszenie przez monitor stanu krytycznego.

Rozwiązania

W konsoli programu Virtual Machine Manager znajdź hosta wymagającego podjęcia działań i kliknij jego kartę stanu. Pozwoli to rozwiązać problem wymagający podjęcia działań.

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.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Nieprawidłowy stan hostu programu VMM
Stan hosta {0} programu VMM: {1}. Nie jest to prawidłowy stan
RunAsDefault

Source Code:

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