OEM Diagnostics

NOTE: This doc assumes you are on a version of OEM later than 12.1.0.4.0

Agent Status

From the Target OS

cd $EMAGENT_HOME/bin

./emctl status agent

Oracle Enterprise Manager Cloud Control 13c Release 3Copyright (c) 1996, 2018 Oracle Corporation.  All rights reserved.---------------------------------------------------------------Agent Version          : 13.3.0.0.0OMS Version            : 13.4.0.0.0Protocol Version       : 12.1.0.1.0Agent Home             : /u01/app/em13/agent_instAgent Log Directory    : /u01/app/em13/agent_inst/sysman/logAgent Binaries         : /u01/app/em13/agent_13.3.0.0.0Core JAR Location      : /u01/app/em13/agent_13.3.0.0.0/jlibAgent Process ID       : 31981744Parent Process ID      : 36307036Agent URL              : https://myserver:3892/emd/main/Local Agent URL in NAT : https://myserver:3892/emd/main/Repository URL         : https://omsserver:4903/empbs/uploadStarted at             : 2020-02-21 12:58:41Started by user        : oracleOperating System       : AIX version 7.1 (ppc64)Number of Targets      : 7Last Reload            : (none)Last successful upload                       : 2020-10-20 16:35:31Last attempted upload                        : 2020-10-20 16:35:31Total Megabytes of XML files uploaded so far : 245.22Number of XML files pending upload           : 0Size of XML files pending upload(MB)         : 0Available disk space on upload filesystem    : 17.63%Collection Status                            : Collections enabledHeartbeat Status                             : OkLast attempted heartbeat to OMS              : 2020-10-20 16:35:51Last successful heartbeat to OMS             : 2020-10-20 16:35:51Next scheduled heartbeat to OMS              : 2020-10-20 16:36:51
---------------------------------------------------------------Agent is Running and Ready

OMS Status

cd $OMS_HOME/bin

./emctl status oms -details

OMS_HOME may be something like.../u01/app/em135/middleware
Sometimes the easiest option may be to run this from the top level directory to identify suitable candidates for OMS_HOME...find . -name emctl
Oracle Enterprise Manager Cloud Control 13c Release 5Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.Enter Enterprise Manager Root (SYSMAN) Password :Console Server Host        : myoemserver.mydomain.comHTTP Console Port          : 7788HTTPS Console Port         : 7803HTTP Upload Port           : 4889HTTPS Upload Port          : 4903EM Instance Home           : /u01/app/em135/gc_inst/em/EMGC_OMS1OMS Log Directory Location : /u01/app/em135/gc_inst/em/EMGC_OMS1/sysman/logOMS is not configured with SLB or virtual hostnameAgent Upload is locked.OMS Console is locked.Active CA ID: 1Console URL: https://myoemserver.mydomain.com:7803/emUpload URL: https://myoemserver.mydomain.com:4903/empbs/upload
WLS Domain InformationDomain Name            : GCDomainAdmin Server Host      : myoemserver.mydomain.comAdmin Server HTTPS Port: 7102Admin Server is RUNNING
Oracle Management Server InformationManaged Server Instance Name: EMGC_OMS1Oracle Management Server Instance Host: myoemserver.mydomain.comWebTier is UpOracle Management Server is UpJVMD Engine is Up

OMS Patching Status

cd $OMS_HOME/Opatch

./opatch lspatches

32458315;ADF BUNDLE PATCH 12.2.1.4.21020332412974;One-off31818221;One-off31808404;OHS (NATIVE) BUNDLE PATCH 12.2.1.4.20082631708760;One-off31666198;OPSS Bundle Patch 12.2.1.4.20072430152128;One-off26626168;One-off122146;Bundle patch for Oracle Coherence Version 12.2.1.4.632253037;WLS PATCH SET UPDATE 12.2.1.4.201209
OPatch succeeded.

Target Status

Targets - Hosts - Select your target host. Host - Related Targets

Click on the yellow "cog" icon to get to the page below...

Agents Information

Enterprise - Reports - Information Publisher Reports

Target Status Diagnostics Reports

Enterprise - Reports - Information Publisher Reports

You should find two reports under "Target Status Diagnostics Reports":

For non-clustered databases you would generally use the Report for Agent-based targets.

Target Status Diagnostics Report: Agent-based targets

Enterprise Manager Health

Enterprise - Reports - Information Publisher Reports

You should find several Agent related reports under "Enterprise Manager Health":

Bibliography


https://support.oracle.com
  • EM 12c, EM 13c: Enterprise Manager Cloud Control Agent Removal Using AgentDeinstall.pl on the Target Host and Agent Decommission in the Console (Doc ID 1673394.1)
  • EM 12c, EM 13c: How to Run the Targets Status Diagnostics Report to Troubleshoot Target Status Availability Issues (Up, Down, Metric Collection Error, Pending, Unreachable) for All Enterprise Manager Cloud Control Targets (Doc ID 1546575.1)
  • EM 12c, EM 13c: Troubleshooting the Metric Collection Error for a Database Instance Target in Enterprise Manager 12c and 13c Cloud Control (Doc ID 1533617.1)