EM 12c: emctl status agent Agent 'unavailable with metric collection error' 'Cleanup of previous target with the same name (<AGENT URL>) is in progress' Reported in MGMT_TARGETS

(Doc ID 1950874.1)

Last updated on JANUARY 10, 2018

Applies to:

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


Agent status is shown 'Availability Evaluation Error' on EM 12c Console

From repository reports the following broken string

SQL>select target_name, target_type, target_guid, host_name, emd_url, broken_reason, broken_str  from mgmt_targets where target_type = 'oracle_emd' and target_name like '%qmn545%';
TARGET_NAME                     target_type    TARGET_GUID    HOST_NAME    EMD_URL    BROKEN_REASON   BROKEN_STR
mn545.prod.mrq:3872  oracle_emd            B097490A17EEFB862BA84D6483D77CA8
Target operation is unavailable: Cleanup of previous target with the same name (oracle_emd.mn545.prod.com:3872) is in progress

$/AGENT_INST/bin/emctl upload agent

is working and upload status shown latest time stamp

Here is the status of the agent:
Last successful upload : 2014-11-06 11:01:09
Last attempted upload : 2014-11-06 11:01:09
Agent is Running and Ready

EM 12c Console  Setup > Manage Cloud Console shows > Agents Shows  'Last successful Load: Nov 4, 2014 7:54:07 PM'





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