System Center 2016 Virtual Machine Manager VMM-agent bewaakt door OpsMgr

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

Hiermee wordt gecontroleerd of de VMM-agent wordt bewaakt door Operations Manager

Knowledge Base article:

Samenvatting

Deze monitor geeft aan of de server die wordt beheerd door Virtual Machine Manager, ook wordt bewaakt door Operations Manager.

Oorzaken

De status van deze monitor is niet in orde als de server die wordt beheerd door Virtual Machine Manager, niet wordt bewaakt door Operations Manager. Als u uitgebreide gezondheids- en prestatiebewakingsrapporten en management pack-rapporten wilt genereren, kunt u het beste een Operations Manager-agent implementeren op elke computer waarop Virtual Machine Manager-onderdeel is geïnstalleerd. Dit omvat de Virtual Machine Manager-beheerserver, virtuele-machinehosts, bibliotheekservers, databaseservers en de webserver met het VMM Selfservice portal.

Oplossingen

Installeer een Operations Manager-agent op de desbetreffende computer.

Extern

Raadpleeg "How to Deploy the Operations Manager Agent for Agent-Management of Computers" (de Operations Manager-agent voor agentbeheer van computers implementeren) op ( http://go.microsoft.com/fwlink/?LinkId=268152) voor instructies voor de implementatie van Operations Manager-agents.

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher
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
VMM-agent niet bewaakt door Operations Manager
De status van de VMM-agent is {1} op {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.VirtualMachineManager.2016.VMMAgentMonitoredByOpsMgrMonitor" Accessibility="Public" Target="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher" TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.TwoStatesMonitorType" ParentMonitorID="SystemHealth!System.Health.AvailabilityState">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.VirtualMachineManager.2016.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="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.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="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.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="VMM2016Discovery!Microsoft.SystemCenter.VirtualMachineManager.2016.AgentWatcher"]/AgentStatus$</Value>
</ValueExpression>
</SimpleExpression>
</SuccessExpression>
</Configuration>
</UnitMonitor>