System Center 1801+ Virtual Machine Manager VM-gaststatus
Microsoft.SystemCenter.VirtualMachineManager.VMGuestStateMonitor (UnitMonitor)
Hiermee wordt de gastgerelateerde status van een virtuele machine bewaakt
Element properties:
Source Code:
<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.VMGuestStateMonitor" Accessibility="Public" Enabled="false" Target="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine" TypeID="Microsoft.SystemCenter.VirtualMachineManager.VMStateMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.VMGuestStateMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine"]/State$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMStateHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMStateCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>1800</IntervalSeconds>
<TimeoutSeconds>1800</TimeoutSeconds>
<PropertyValue>$Target/Property[Type="VMMBase!Microsoft.SystemCenter.VirtualMachineManager.VirtualMachine"]/State$</PropertyValue>
<FailedValue>NotApplicable</FailedValue>
<MissingValue>UpdateFailed</MissingValue>
<!--Update/Customization failed are the 2 states this monitor is alerting on-->
<PausedValue>CustomizationFailed</PausedValue>
<UnsupportedClusterPattern>NotApplicable</UnsupportedClusterPattern>
<NotRespondingPattern>NotApplicable</NotRespondingPattern>
<IncompletePattern>NotApplicable</IncompletePattern>
<ExcludedState1>NotApplicable</ExcludedState1>
<ExcludedState2>NotApplicable</ExcludedState2>
</Configuration>
</UnitMonitor>