My Oracle Support Banner

EM 12c: emctl upload agent Agent,Host are Not Shown or Shown or Shown Pending in Console (Doc ID 1951701.1)

Last updated on MAY 09, 2021

Applies to:

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

Symptoms

Agent start, upload , pingOMS results success. Agent & Hosts are not shown up on console

$/AGENT_INST/bin/emctl status agent

shows bytes uploaded is'0'

Last attempted upload                        : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload           : 0
Size of XML files pending upload(MB)         : 0
Available disk space on upload filesystem    : 22.02%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2014-10-02 17:39:25
Last successful heartbeat to OMS             : 2014-10-02 17:39:25
Next scheduled heartbeat to OMS              : 2014-10-02 17:40:25

$/AGENT_INST/bin/emctl config agent listtargets

results no rows

Oracle Enterprise Manager Cloud Control 12c Release 4 Copyright (c) 1996, 2014 Oracle Corporation.  
All rights reserved.

From the Manage Status, Promote Status values of 2,2 indicates that the Agent communication is not fine

SQL>select ENTITY_NAME, ENTITY_TYPE, MANAGE_STATUS, PROMOTE_STATUS from EM_MANAGEABLE_ENTITIES where emd_url like '%cnn-agent.oracle.com%'


ENTITY_NAME                     ENTITY_TYPE     MANAGE_STATUS PROMOTE_STATUS
------------------------- --------------- ------------- ---------------------------------------
<AGENT_HOSTNAME>          host                        2                      2  
<AGENT_HOSTNAME>:3872  oracle_emd             2                      2 

OR

After re-installing Agent 12c, the status of it remains in 'Status Pending' state forever

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.