System Center 2019+ Virtual Machine Manager — dostępny agent VMM

Microsoft.SystemCenter.VirtualMachineManager.VMMAgentReachableMonitor (UnitMonitor)

Monitoruje, czy agent VNN jest osiągalny.

Knowledge Base article:

Podsumowanie

Monitor Obserwator agenta VMM wskazuje dostępność agenta programu Virtual Machine Manager na zarządzanym hoście maszyny wirtualnej lub serwerze biblioteki. Jeśli agent VMM nie jest dostępny, monitor przyjmuje stan krytyczny (czerwony). Jeśli stan jest nieznany, monitorowanie tego serwera nie zostało jeszcze rozpoczęte.

Przyczyny

Niepoprawny stan danego serwera biblioteki lub hosta oznacza, że usługa agenta programu Virtual Machine Manager nie jest dostępna z serwera.

Rozwiązania

Aby usunąć przyczynę nieprawidłowego stanu monitora usługi agenta:

1

Uruchom usługę agenta programu Virtual Machine Manager ponownie na hoście lub serwerze biblioteki. Można to zrobić, używając funkcji Usługi w Narzędziach administracyjnych serwera, lub za pomocą poniższej procedury realizowanej w programie Operations Console.

2

Jeśli ponowne uruchomienie agenta programu Virtual Machine Manager nie rozwiąże problemu:

Upewnij się, że host lub serwer biblioteki pracuje w trybie online.

Upewnij się, że serwer zarządzania VMM może nawiązać połączenie z hostem lub serwerem biblioteki.

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
Agent VMM nieosiągalny
Stan agenta VMM w obiekcie {0} to {1}.
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>