When querying the status of the agent i noticed the collection status showing Disabled by upload manager
oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g > emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
—————————————————————
Agent Version : 11.1.0.1.0
OMS Version : 11.1.0.1.0
Protocol Version : 11.1.0.0.0
Agent Home : /u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com
Agent binaries : /u01/app/oracle/product/11.2.0/agent/agent11g
Agent Process ID : 24039
Parent Process ID : 24033
Agent URL : https://sausalito.cpp-group.com:3872/emd/main
Repository URL : https://uk-yo-dbmon01.cpp-group.com:4900/em/upload
Started at : 2011-11-23 11:16:23
Started by user : oracle
Last Reload : 2011-11-23 11:16:23
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 210
Size of XML files pending upload(MB) : 50.52
Available disk space on upload filesystem : 60.23%
Collection Status : Disabled by Upload Manager
Last successful heartbeat to OMS : 2011-11-23 11:37:37
—————————————————————
Agent is Running and Ready
When I tried to upload manually i received the following message
oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g/sysman/emd > emctl upload agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
—————————————————————
EMD upload error: Failed to upload file A0000005.xml: HTTP error.
Response received: ERROR-400|Data will be rejected for upload from agent ‘https://sausalito.cpp-group.com:3872/emd/main’, max size limit for direct load exceeded [8324170/5242880]
To fix the problem i removed the file from $AGENT_HOME//u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.iii-group.com/sysman/emd/upload
I then restarted the agent
oracle@sausalito:/u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com/sysman/emd/upload > emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
—————————————————————
Agent Version : 11.1.0.1.0
OMS Version : 11.1.0.1.0
Protocol Version : 11.1.0.0.0
Agent Home : /u01/app/oracle/product/11.2.0/agent/agent11g/sausalito.cpp-group.com
Agent binaries : /u01/app/oracle/product/11.2.0/agent/agent11g
Agent Process ID : 27951
Parent Process ID : 27945
Agent URL : https://sausalito.cpp-group.com:3872/emd/main
Repository URL : https://uk-yo-dbmon01.cpp-group.com:4900/em/upload
Started at : 2011-11-23 11:58:22
Started by user : oracle
Last Reload : 2011-11-23 11:58:22
Last successful upload : 2011-11-23 11:59:02
Total Megabytes of XML files uploaded so far : 0.48
Number of XML files pending upload : 3
Size of XML files pending upload(MB) : 1.18
Available disk space on upload filesystem : 60.27%
Last successful heartbeat to OMS : 2011-11-23 11:58:36
—————————————————————
Agent is Running and Ready
Also refer to the following document from metalink , should should resolve the problem from happening again
Agent Upload to OMS Fails with “ERROR-400|Data will be rejected for upload from agent … max size limit for direct load exceeded” [ID 359097.1]