AVIcode Enterprise Agent Deployment Validation

AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost (UnitMonitor)

This monitor verifies that there are no server added to the .NET Enterprise Agent Deployment Group that have the System Center Operations Manager 2012 APM feature installed.

Knowledge Base article:

Summary

The instance state becomes unhealthy if the .NET Enterprise Agent Deployment Group contains a computer that has the System Center Operations Manager 2012 APM service installed.

Causes

The .NET Enterprise Agent Deployment Group is used to specify computers to which the AVIcode agent should be deployed. The AVIcode agent is incompatible with the System Center Operations Manager 2012 APM service. When it is detected that the AVIcode agent is being deployed to an invalid server, installation of the AVIcode agent will be blocked.

Resolutions

To resolve this issue, the APM service can be removed by re-installing the Operations Manager 2012 agent manually and specifying the command line parameter /NOAPM=1. This will stop the APM service from being installed and allow the AVIcode agent to be deployed to the host.

Element properties:

TargetMicrosoft.SystemCenter.HealthService
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeAVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
AVIcode .NET Enterprise agent being deployed to invalid host server.
The AVIcode .NET Enterprise Agent should only be deployed to servers that do not have the System Center Operations Manager 2010 APM service installed.
RunAsDefault

Source Code:

<UnitMonitor ID="AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost" Accessibility="Public" Enabled="false" Target="SC!Microsoft.SystemCenter.HealthService" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost.MonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="AVIcode.DotNet.SystemCenter.EnterpriseAgentValidHost_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters/>
</AlertSettings>
<OperationalStates>
<OperationalState ID="InvalidHost" MonitorTypeStateID="InvalidHost" HealthState="Error"/>
<OperationalState ID="ValidHost" MonitorTypeStateID="ValidHost" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<Frequency>3600</Frequency>
</Configuration>
</UnitMonitor>