EM 12c, EM 13c: Agent and Host Target shown under Metric Collection Error after Agent Deployment in Enterprise Manager Cloud Control (Doc ID 1938980.1)

Last updated on APRIL 21, 2016

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Agent and Host targets are shown with Metric Collection Error status in EM Cloud Control after a successful Agent installation.

1.  Run the following command to verify that the Agent is running and can upload to the OMS:

cd <AGENT_INST>/bin
emctl status agent

 

2. Run the following command to verify the Host and Agent targets have been added on the Agent side:

cd <AGENT_INST>/bin
emctl config agent listtargets

 

3. If the above query shows no targets, run the following query on the repository database to confirm targets are present in the repository:

SQL> select ENTITY_NAME, ENTITY_TYPE, MANAGE_STATUS, PROMOTE_STATUS from EM_MANAGEABLE_ENTITIES where emd_url like '%<Agent Host>%';

ENTITY_NAME               ENTITY_TYPE MANAGE_STATUS PROMOTE_STATUS
-------------------------------------------------------------------
agenthost.oracle.com      host             2          2
agenthost.oracle.com:3872 oracle_emd       2          2

 This response shows the target addition is incomplete.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms