Агент AVIcode Enterprise и агент APM развернуты на одном компьютере

Microsoft.SystemCenter.Apm.AVIcodeAgentFoundMonitor (UnitMonitor)

Этот монитор проверяет, не был ли агент AVIcode .NET Enterprise Agent установлен на компьютере, на котором уже установлен компонент System Center Operations Manager APM.

Knowledge Base article:

Краткое описание

Экземпляр переходит в неработоспособное состояние, если агент AVIcode .NET Enterprise Agent обнаружен на компьютере, на котором уже выполняется служба System Center Operations Manager APM. Хотя принудительная установка агента AVIcode в агент System Center Operations Manager (агент наблюдения Microsoft) будет предотвращена, эта ситуация может возникать в случаях ручной установки.

Причины

Агент AVIcode .NET Enterprise Agent обнаружен на компьютере, на котором ранее был развернут агент Operations Manager APM. Возможности APM Operations Manager заменяют возможности пакета управления "Библиотека приложений ASP.NET" для веб-приложений и служб, размещенных в службах IIS 7 и более поздних версий. Для использования Operations Manager APM необходимо удалить перехватчики AVIcode с целевого сервера, а затем переустановить агент Operations Manager. Чтобы использовать перехватчики AVIcode, установите агент Operations Manager без APM. Два агента не могут работать вместе.

Решения

Чтобы устранить описанную проблему, может потребоваться принятие решения о том, какой агент необходимо использовать:

Element properties:

TargetMicrosoft.SystemCenter.Apm.ApmAgent
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.Apm.AVIcodeAgentFoundMonitorType
RemotableFalse
AccessibilityPublic
Alert Message
Агент AVIcode обнаружен на компьютере, на котором уже выполняется служба System Center Operations Manager APM
Агент AVIcode .NET Enterprise Agent следует развертывать только на серверах, на которых не установлена служба System Center Operations Manager APM. Эти две службы несовместимы и не должны выполняться параллельно. Этот агент теперь находится в неподдерживаемом состоянии.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.Apm.AVIcodeAgentFoundMonitor" Accessibility="Public" Enabled="true" Target="AI!Microsoft.SystemCenter.Apm.ApmAgent" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="false" Priority="Normal" TypeID="Microsoft.SystemCenter.Apm.AVIcodeAgentFoundMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.Apm.AVIcodeAgentFoundMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AVIcodeAgentNotFound" MonitorTypeStateID="AVIcodeAgentNotFound" HealthState="Success"/>
<OperationalState ID="AVIcodeAgentFound" MonitorTypeStateID="AVIcodeAgentFound" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<Frequency>14400</Frequency>
</Configuration>
</UnitMonitor>