Hi,
I wonder if there is a way, either on the OMS server or at the backend repository database, to find out the last time that OMS was started. When I use emctl status oms -details it does not give the timestamp at which the current OMS was started. But when you do for an agent (emctl status agent) you do get such information for the agent start time.
OMS Status:
>./emctl status oms -details
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Enter Enterprise Manager Root (SYSMAN) Password :
Console Server Host : omsserver.mycompany.com
HTTP Console Port : 7778
HTTPS Console Port : 4444
HTTP Upload Port : 4889
HTTPS Upload Port : 1159
EM Instance Home : /u01/app/oracle/product/MiddleWare/gc_inst/em/EMGC_OMS1
OMS Log Directory Location : /u01/app/oracle/product/MiddleWare/gc_inst/em/EMGC_OMS1/sysman/log
OMS is not configured with SLB or virtual hostname
Agent Upload is unlocked.
OMS Console is unlocked.
Active CA ID: 1
Console URL: https://omsserver.mycompany.com:4444/em
Upload URL: https://omsserver.mycompany.com:1159/empbs/upload
WLS Domain Information
Domain Name : GCDomain
Admin Server Host: omsserver.mycompany.com
Agent Status:
>./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.2.0
OMS Version : 12.1.0.2.0
Protocol Version : 12.1.0.1.0
Agent Home : /u01/app/oracle/product/agent12c/agent_inst
Agent Binaries : /u01/app/oracle/product/agent12c/core/12.1.0.2.0
Agent Process ID : 11230
Parent Process ID : 11013
Agent URL : https://agentserver.mycompany.com:1831/emd/main/
Repository URL : https://hlcnwoemp01.mycompany.com:1159/empbs/upload
Started at : 2013-08-31 12:45:55 <===== Start time
Started by user : oracle
Last Reload : (none)
Last successful upload : 2013-11-25 15:08:10
Last attempted upload : 2013-11-25 15:08:10
Total Megabytes of XML files uploaded so far : 552.38
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 47.17%
Collection Status : Collections enabled
Heartbeat Status : Ok
Last attempted heartbeat to OMS : 2013-11-25 15:07:46
Last successful heartbeat to OMS : 2013-11-25 15:07:46
Next scheduled heartbeat to OMS : 2013-11-25 15:08:46
---------------------------------------------------------------
Agent is Running and Ready
Thanks!