Unable to establish DCOM connection with Agent Installer service

Microsoft.SystemCenter.AgentManager.NoRemoteAgentDcomConnection.Monitor (UnitMonitor)

Monitor when the management server cannot establish a DCOM connection with the Agent Installer service on the target computer.

Knowledge Base article:

Summary

The management server failed to establish a DCOM connection to the remote computer where you are trying to install an agent.

Causes

This can happen when there is a firewall or IPSec policy that only allows specific ports. Since DCOM uses a dynamic port range, you may not be able to remotely install an agent unless an exception is added to the firewall policy on the target agent. If you are not using a Host based firewall, you may need to add an exception to your network-based firewall between the IP Address or host name of the target computer (and all computers you want to remotely install an agent to) and the management server.

Resolutions

Add a firewall exception to allow all ports between the target computer and the management server.

For more information on troubleshooting agent installation, see Troubleshooting Issues When You Use the Discovery Wizard to Install an Agent(http://go.microsoft.com/fwlink/?LinkId=181932).

Element properties:

TargetMicrosoft.SystemCenter.AgentManager
Parent MonitorMicrosoft.SystemCenter.AgentManager.ConfigHealthRollup
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AgentManager.AgentManagerFailureMonitor
RemotableTrue
AccessibilityPublic
Alert Message
Failed Agent Push/Repair - Could not establish DCOM connection with Agent Installer service
An agent "push" install or repair was attempted and failed. The task was run from the management server {1} against the computer {0}.

Additional details:
Task Start Time: {3} UTC
Task End Time: {4} UTC

Full Event Description: {5}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AgentManager.NoRemoteAgentDcomConnection.Monitor" Accessibility="Public" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AgentManager" ParentMonitorID="Microsoft.SystemCenter.AgentManager.ConfigHealthRollup" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.AgentManager.AgentManagerFailureMonitor" ConfirmDelivery="true">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AgentManager.NoRemoteAgentDcomConnection.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/TargetDevicePrincipalName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/ManagementServerName$</AlertParameter2>
<AlertParameter3>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.UserActionManager"]/PendingStateType$</AlertParameter3>
<AlertParameter4>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</AlertParameter4>
<AlertParameter5>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</AlertParameter5>
<AlertParameter6>$Data/Context/Property[@Name="Message"]$</AlertParameter6>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="AgentManagerFailure" MonitorTypeStateID="AgentInstallationFailure" HealthState="Error"/>
<OperationalState ID="AgentManagerSuccess" MonitorTypeStateID="AgentInstallationSuccess" HealthState="Success"/>
</OperationalStates>
<Configuration>
<EventId>10603</EventId>
<TaskStartTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskStartTime$</TaskStartTime>
<TaskEndTime>$Target/Property[Type="SCLibrary!Microsoft.SystemCenter.AgentManager"]/TaskEndTime$</TaskEndTime>
</Configuration>
</UnitMonitor>