Agente VMM de System Center 2019+ Virtual Machine Manager supervisado por OpsMgr

Microsoft.SystemCenter.VirtualMachineManager.VMMAgentMonitoredByOpsMgrMonitor (UnitMonitor)

Supervisa si el agente VMM está supervisado por Operations Manager

Knowledge Base article:

Resumen

Este monitor indica si al servidor administrado por Virtual Machine Manager también lo está supervisando también Operations Manager.

Causas

El estado de este monitor es incorrecto si al servidor administrado por Virtual Machine Manager no lo está supervisando Operations Manager. Para proporcionar informes de supervisión de mantenimiento y rendimiento y de módulo de administración exhaustivos, una práctica recomendada es implementar un agente de Operations Manager en cada equipo en el que esté instalado un componente de Virtual Machine Manager. Esto incluye el servidor de administración Virtual Machine Manager, hosts de máquina virtual, servidores de biblioteca, servidores de base de datos y el servidor web que hospeda el portal de autoservicio de VMM.

Resoluciones

Instale un agente de Operations Manager en el equipo aplicable.

Externo

Para obtener instrucciones sobre cómo implementar agentes de Operations Manager, vea cómo implementar el agente de Operations Manager para la administración de equipos con agentes, en http://go.microsoft.com/fwlink/?LinkId=268152.

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
Agente VMM no supervisado por Operations Manager
El estado del agente VMM es {1} en {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.VMMAgentMonitoredByOpsMgrMonitor" 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.VMMAgentMonitoredByOpsMgrMonitor.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="VMMAgentMonitoredByOpsMgrHealthy" MonitorTypeStateID="Success" HealthState="Success"/>
<OperationalState ID="VMMAgentMonitoredByOpsMgrCritical" MonitorTypeStateID="Error" HealthState="Error"/>
</OperationalStates>
<Configuration>
<IntervalSeconds>300</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<ErrorExpression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">Not Monitored</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">Not Monitored</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>