System Center 2019+ Virtual Machine Manager VMM-agent bereikbaar

Microsoft.SystemCenter.VirtualMachineManager.VMMAgentReachableMonitor (UnitMonitor)

Hiermee wordt gecontroleerd of de VMM-agent bereikbaar is.

Knowledge Base article:

Samenvatting

De monitor VMM-agent bereikbaar geeft de beschikbaarheid van de Virtual Machine Manager-agent op een beheerde virtuele-machinehost of bibliotheekserver aan. Als de VMM-agent niet bereikbaar is, is de monitor in kritieke status (rood). Als de status onbekend is, is de bewaking nog niet gestart voor de server.

Oorzaken

Als de status van deze bibliotheekserver of host niet in orde is, is de Virtual Machine Manager-agentservice niet bereikbaar op de server.

Oplossingen

U kunt problemen met de status van de monitor VMM-agent bereikbaar als volgt oplossen:

1

Start de Virtual Machine Manager-agentservice opnieuw op de host of bibliotheekserver. U kunt dit doen met het onderdeel Services van Systeembeheer op de server, of met de procedure na de volgende procedure op de Operations-console.

2

Als het probleem niet wordt opgelost door de Virtual Machine Manager-agent opnieuw te starten:

Zorg ervoor dat de host of bibliotheekserver online is.

Zorg ervoor dat de VMM-beheerserver verbinding kan maken met de host of bibliotheekserver.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Discovery.AgentWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VMM-agent niet bereikbaar
De status van de VMM-agent is {1} op {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.VMMAgentReachableMonitor" Accessibility="Public" Target="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.AgentWatcher" TypeID="Microsoft.SystemCenter.VirtualMachineManager.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.VMMAgentReachableMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.AgentWatcher"]/AgentStatus$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="VMMAgentReachableHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMAgentReachableCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">NeedsAttention</Value>
</ValueExpression>
<Operator CaseSensitive="false">Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</ErrorExpression>
<SuccessExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">NeedsAttention</Value>
</ValueExpression>
<Operator CaseSensitive="false">NotEqual</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="VMMDiscovery!Microsoft.SystemCenter.VirtualMachineManager.Discovery.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>