Agenci AVIcode Enterprise i APM zostali wdrożeni na tym samym komputerze

Microsoft.SystemCenter.Apm.AVIcodeAgentFoundMonitor (UnitMonitor)

Ten monitor sprawdza, czy nie zainstalowano agenta AVIcode.NET Enterprise na komputerze, na którym jest już zainstalowana funkcja APM programu System Center Operations Manager.

Knowledge Base article:

Podsumowanie

Kondycja tego wystąpienia staje się zła w razie znalezienia agenta AVIcode .NET Enterprise na komputerze, na którym jest już uruchomiona usługa APM programu System Center Operations Manager. Wypychana instalacja agenta AVIcode w agencie programu System Center Operations Manager (agent monitorowania Microsoft) jest blokowana, sytuacja taka może jednak wystąpić z powodu instalacji ręcznej.

Przyczyny

Znaleziono agenta AVIcode .NET Enterprise na komputerze, na którym został poprzednio wdrożony agent APM programu Operations Manager. Funkcje APM programu Operations Manager zastępują pakiet administracyjny biblioteki aplikacji ASP.NET w przypadku usług i aplikacji sieci Web, których hostem są usługi IIS 7 lub nowsze. Aby korzystać z funkcji APM programu Operations Manager, należy usunąć interceptory AVIcode z serwera docelowego, a następnie ponownie zainstalować agenta programu Operations Manager. Aby korzystać z interceptorów AVIcode, należy zainstalować agenta programu Operations Manager bez funkcji APM. Ci dwaj agenci nie mogą działać jednocześnie.

Rozwiązania

Aby rozwiązać ten problem, potrzebna może być decyzja, który agent powinien zostać użyty:

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
Znaleziono agenta AVIcode na komputerze, na którym jest już uruchomiona usługa APM programu System Center Operations Manager
Agenta AVIcode .NET Enterprise należy wdrażać tylko na serwerach, na których nie jest zainstalowana usługa APM programu System Center Operations Manager. Te dwie usługi są niezgodne i nie powinny działać jednocześnie. Ten agent jest teraz w stanie nieobsługiwanym.
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>