Мониторинг агента VMM с помощью Operations Manager (System Center 2016 Virtual Machine Manager)

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

Отслеживает, осуществляет ли Operations Manager мониторинг агента VMM

Knowledge Base article:

Сводка

Этот монитор указывает, осуществляет ли Operations Manager отслеживание сервера под управлением Virtual Machine Manager.

Причины

Этот монитор находится в неработоспособном состоянии, если Operations Manager не осуществляет отслеживание сервера под управлением Virtual Machine Manager. Для наиболее эффективного мониторинга производительности и работоспособности, а также для создания отчетов с помощью пакета управления, рекомендуется устанавливать агент Operations Manager на каждый компьютер с установленным компонентом Virtual Machine Manager. В число таких компьютеров входят сервер управления Virtual Machine Manager, узлы виртуальных машин, серверы библиотек, серверы баз данных, а также веб-сервер, на котором размещен портал самообслуживания VMM.

Решения

Установите агент Operations Manager на соответствующий компьютер.

Внешние ресурсы

Инструкции по развертыванию агентов Operations Manager см. в статье "Способы установки агента Operations Manager" ( http://go.microsoft.com/fwlink/?LinkId=268152).

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 ведется без Operations Manager
Состояние агента VMM —{1} в {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>