My Oracle Support Banner

EM 13c: 'Emctl control agent runCollection' Results in 'RunCollection: Exception Occurred: oracle.sysman.gcagent.task.TaskPreExecuteCheckException: invalid CollectionItem' For Metric Extension (Doc ID 2878904.1)

Last updated on DECEMBER 09, 2023

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

The Metric Extension (ME) is added to a monitoring template. This template is applied on targets as as part of managing administration groups. But the ME deployment through monitoring template was failed without any warnings. Trying to access the ME from target database home page results in below error.

$ <Agent_Base>/agent_inst/sysman/log/gcagent.log

2022-06-20 13:11:11,672 [379063:A75112F8] DEBUG - RETURN CollectionManager.runCollelction[oracle_database.<DB Target>, ME$<ME Name>, 300, SECONDS]
2022-06-20 13:11:11,674 [379063:A75112F8] WARN - Fetchlet exception : oracle.sysman.emSDK.agent.fetchlet.exception.FetchletException: RunCollection: exception occurred: oracle.sysman.gcagent.task.TaskPreExecuteCheckException: invalid CollectionItem
oracle.sysman.emSDK.agent.fetchlet.exception.FetchletException: RunCollection: exception occurred: oracle.sysman.gcagent.task.TaskPreExecuteCheckException: invalid CollectionItem
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionManager.executeCollectionTask(CollectionManager.java:3626)
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionItem.runCollection(CollectionItem.java:1463)
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionManager.runCollection(CollectionManager.java:3661)
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionManager.runCollection(CollectionManager.java:3480)
Caused by: oracle.sysman.gcagent.task.TaskPreExecuteCheckException: invalid CollectionItem
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionItem$CollectionItemTask._preExecuteCheck(CollectionItem.java:2526)
    at oracle.sysman.gcagent.metadata.impl.collection.CollectionItem$CollectionItemTask.preExecuteCheck(CollectionItem.java:2459)

 

While trying to test the ME, the required database is not allowed to be added to test targets with error "Advanced properties of <Target DB> does not match with the advanced properties of metric extension".

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.