System Center 1801+ Virtual Machine Manager – agent VMM monitorován nástrojem OpsMgr

Microsoft.SystemCenter.VirtualMachineManager.VMMAgentMonitoredByOpsMgrMonitor (UnitMonitor)

Monitoruje, zda je agent VMM monitorován nástrojem Operations Manager

Knowledge Base article:

Souhrn

Tento monitor označuje, zda server spravovaný nástrojem Virtual Machine Manager je nebo není také sledován nástrojem Operations Manager.

Příčiny

Tento monitor není v pořádku, pokud server spravovaný nástrojem Virtual Machine Manager není také sledován nástrojem Operations Manager. Chcete-li zajistit všestranné sledování stavu a výkonu a zprávy sad balíků pro správu, bude nejlepší nasadit agenta Operations Manager na každý počítač, na kterém je nainstalována komponenta Virtual Machine Manager. To zahrnuje server pro správu Virtual Machine Manager, hostitele virtuálních počítačů, servery knihoven, databázové servery a hostování webových serverů portálu VMM Self-Service.

Řešení

Nainstalujte agenta Operations Manager na příslušný počítač.

Externí

Instrukce k nasazování agentů Operations Manager naleznete v části „Postup nasazování agenta Operations Manager pro počítače spravované agenty“ ( 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
Agent VMM není monitorován nástrojem Operations Manager
Stav agenta VMM je {1} v {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>