Forum Stats

  • 3,723,348 Users
  • 2,244,533 Discussions
  • 7,850,425 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

OEM13cR3 Auto Discovery of Targets

User_11UHF
User_11UHF Member Posts: 5 Red Ribbon
edited March 2019 in Enterprise Manager

Successfully installed OEM13c agents on the Target DB host. Agent Status and Upload works fine.

emctl status agent

Oracle Enterprise Manager Cloud Control 13c Release 3

Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

Agent Version          : 13.3.0.0.0

OMS Version            : 13.3.0.0.0

Protocol Version       : 12.1.0.1.0

Agent Home             : /u01/app/oracle/agent/agent_inst

Agent Log Directory    : /u01/app/oracle/agent/agent_inst/sysman/log

Agent Binaries         : /u01/app/oracle/agent/agent_13.3.0.0.0

Core JAR Location      : /u01/app/oracle/agent/agent_13.3.0.0.0/jlib

Agent Process ID       : 12866

Parent Process ID      : 12787

Agent URL              : https://DBserver:3872/emd/main/

Local Agent URL in NAT : https://DBserver:3872/emd/main/

Repository URL         : https://OMSserver:4903/empbs/upload

Started at             : 2019-03-28 10:33:27

Started by user        : oracle

Operating System       : Linux version 2.6.39-400.300.2.el6uek.x86_64 (amd64)

Number of Targets      : (none)

Last Reload            : (none)

Last successful upload                       : (none)

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    : 45.65%

Collection Status                            : Collections enabled

Heartbeat Status                             : Ok

Last attempted heartbeat to OMS              : 2019-03-28 10:44:36

Last successful heartbeat to OMS             : 2019-03-28 10:44:36

Next scheduled heartbeat to OMS              : 2019-03-28 10:45:36

---------------------------------------------------------------

Agent is Running and Ready

[oracle]$ emctl upload agent

Oracle Enterprise Manager Cloud Control 13c Release 3

Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.

---------------------------------------------------------------

EMD upload completed successfully

However "Auto Discovery" in OEM GUI Console shows "Metric Collection in Error" pastedImage_14.pngand trying "Discover Now" pastedImage_15.png generates the following error:

"The agent must be available in order to configure target discovery".

Anyone come across this and figured out what the issue was?

Thanks

Answers

  • Ian Baugaard
    Ian Baugaard Member Posts: 530
    edited March 2019

    Hi,

    I assume you did the status immediately after you started the agent? Does this line still show the same results right now?

    Last successful upload                       : (none)

    If so, then you'll need to trawl through the $AGENT_HOME/sysman/log/gcagent.log file for clues as to why the agent isn't uploading to the OMS

    Hope this helps

    Ian

  • User_11UHF
    User_11UHF Member Posts: 5 Red Ribbon
    edited March 2019

    Thanks for your inputs.

    FYI: The issue was due to host based firewall blocking upload port to OMS. Once this was added to the iptables, reinstalling the agent the issue was resolved.

  • User_JEMPK
    User_JEMPK Member Posts: 1 Red Ribbon

    Hi User_11UHF,

    Could you please tell me what port you need to open in firewall? I am facing the same problem.


    Thanks

    Padmalochan

  • User_11UHF
    User_11UHF Member Posts: 5 Red Ribbon

    The Oracle Management Agent Port configured --> could be 3872, 1830 - 1849

Sign In or Register to comment.