When retrieving the status of the Grid Control agent I noticed that the collection status has a value of "Disabled by Upload Manager". This error is caused by a file that can't be uploaded.
$ ./emctl status agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.3.0
OMS Version : 10.2.0.3.0
Protocol Version : 10.2.0.2.0
Agent Home : /app/oracle/product/agent10g
Agent binaries : /app/oracle/product/agent10g
Agent Process ID : 1634352
Parent Process ID : 807000
Agent URL : https://hostname:3872/emd/main/
Repository URL : https://hostname:1159/em/upload
Started at : 2009-04-20 14:42:37
Started by user : oracle
Last Reload : 2009-04-20 14:42:37
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 882
Size of XML files pending upload(MB) : 50.40
Available disk space on upload filesystem : 14.71%
Collection Status : Disabled by Upload Manager
Last successful heartbeat to OMS : 2009-04-20 14:42:56
---------------------------------------------------------------
Agent is Running and Ready
[AGENT /app/oracle/product/agent10g/bin ]
$ ./emctl upload
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: Failed to upload file A0000017.xml, ret = -2
If you remove the file from $AGENT_HOME/sysman/emd/upload the upload will succeed and the status will be normal again.
No comments:
Post a Comment