OpsMgr 监视的 System Center 2012 Virtual Machine Manager VMM 代理

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

监视 VMM 代理是否由 Operations Manager 监视

Knowledge Base article:

概述

此监视器指示 Virtual Machine Manager 管理的服务器是否也由 Operations Manager 监视。

原因

如果 Virtual Machine Manager 管理的服务器未由 Operations Manager 监视,则此监视器不正常。 要提供全面的运行状况和性能监视以及管理包报表,最佳做法是在安装有 Virtual Machine Manager 组件的每台计算机上部署 Operations Manager 代理。 这包括 Virtual Machine Manager 管理服务器、虚拟主机、库服务器、数据库服务器以及承载 VMM 自助服务门户的 Web 服务器。

解决方案

在合适的计算机上安装 Operations Manager 代理。

外部

有关如何部署 Operations Manager 代理的说明,请参阅“How to Deploy the Operations Manager Agent for Agent-Management of Computers(如何为计算机代理管理部署 Operations Manager 代理)”( http://go.microsoft.com/fwlink/?LinkId=268152)。

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.2012.AgentWatcher
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.VirtualMachineManager.2012.TwoStatesMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
VMM 代理不由 Operations Manager 监视
VMM 代理状态在 {0} 上为 {1}
RunAsDefault

Source Code:

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