System Center 2016 Virtual Machine Manager – VMM-gazdagép állapota

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

Figyeli a VMM-gazdagép állapotát.

Knowledge Base article:

Összefoglalás

A gazdagép állapotfigyelője jelzi, hogy egy, a Virtual Machine Manager (VMM) által felügyelt virtualizációs gazdagép olyan állapotban van-e, amely egy rendszergazda figyelmét igényli. Ha az állapot ismeretlen, akkor még nem kezdődött el a virtualizációs gazdagép figyelése.

Okok

A Virtual Machine Manager által „figyelmet igényel” jelöléssel ellátott gazdagép azt eredményezi, hogy ez a figyelő kritikus állapotra vált.

Megoldások

A Virtual Machine Manager-konzolon keresse meg a gazdagépet a hálóban, és váltson a rá vonatkozó Tulajdonságok párbeszédpanel Állapot lapjára, hogy hatékonyan elháríthassa a figyelmet igénylő problémát.

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.2016.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
A VMM-gazdagép nem megfelelő állapotú.
A(z) {0} VMM-gazdagép állapota {1}, nem OK.
RunAsDefault

Source Code:

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