Thursday, May 16, 2019

How to resolve [COLLECTIONS_HALTED(UPLOAD SYSTEM Threshold (UploadMaxMegaBytesXML: 5.24288E7) exceeded with 64294828 bytes)]

[oracle@test01 bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 12.1.0.5.0
OMS Version            : 12.1.0.5.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent12c/agent_inst
Agent Log Directory    : /u01/app/oracle/agent12c/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent12c/core/12.1.0.5.0
Agent Process ID       : 86462
Parent Process ID      : 86341
Agent URL              : https://test01.com:3872/emd/main/
Local Agent URL in NAT : https://test01.com:3872/emd/main/
Repository URL         : https://omsa.com:4899/empbs/upload
Started at             : 2019-05-09 13:08:49
Started by user        : oracle
Operating System       : Linux version 4.1.12-124.24.3.el6uek.x86_64 (amd64)
Last Reload            : (none)
Last successful upload                       : 2019-05-09 13:09:04
Last attempted upload                        : 2019-05-09 13:09:04
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload           : 168
Size of XML files pending upload(MB)         : 61.09
Available disk space on upload filesystem    : 24.80%
Collection Status                            : [COLLECTIONS_HALTED(UPLOAD SYSTEM Threshold (UploadMaxMegaBytesXML: 5.24288E7) exceeded with 64294828 bytes)]
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2019-05-09 13:08:59
Last successful heartbeat to OMS             : 2019-05-09 13:08:59
Next scheduled heartbeat to OMS              : 2019-05-09 13:10:02

---------------------------------------------------------------
Agent is Running and Ready

Here is how you can resolve it:


1.) Take the backup of /u01/app/oracle/agent12c/agent_inst/sysman/config/emd.properties file.

cp /u01/app/oracle/agent12c/agent_inst/sysman/config/emd.properties /tmp/emd.properties

2.) Change the following shown property in emd.properties​ file as below and save it:

UploadMaxNumberXML=5000

TO

UploadMaxMegaBytesXML=5000

save and exit :wq!

3.) Restart the agent:

emctl stop agent
emctl start agent

Now the collection status should be shown as "Collections enabled" 

[oracle@test01 bin]$ ./emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version          : 12.1.0.5.0
OMS Version            : 12.1.0.5.0
Protocol Version       : 12.1.0.1.0
Agent Home             : /u01/app/oracle/agent12c/agent_inst
Agent Log Directory    : /u01/app/oracle/agent12c/agent_inst/sysman/log
Agent Binaries         : /u01/app/oracle/agent12c/core/12.1.0.5.0
Agent Process ID       : 86462
Parent Process ID      : 86341
Agent URL              : https://test01.com:3872/emd/main/
Local Agent URL in NAT : https://test01.com:3872/emd/main/
Repository URL         : https://omsa.com:4899/empbs/upload
Started at             : 2019-05-09 13:08:49
Started by user        : oracle
Operating System       : Linux version 4.1.12-124.24.3.el6uek.x86_64 (amd64)
Last Reload            : (none)
Last successful upload                       : 2019-05-09 13:09:04
Last attempted upload                        : 2019-05-09 13:09:04
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload           : 168
Size of XML files pending upload(MB)         : 61.09
Available disk space on upload filesystem    : 24.80%
Collection Status                            : Collections enabled
Heartbeat Status                             : Ok
Last attempted heartbeat to OMS              : 2019-05-09 13:08:59
Last successful heartbeat to OMS             : 2019-05-09 13:08:59
Next scheduled heartbeat to OMS              : 2019-05-09 13:10:02

---------------------------------------------------------------
Agent is Running and Ready

No comments:

Post a Comment