My Oracle Support Banner

Applying Monitoring Template is Failing With: Error Attaching Metric Extension (Doc ID 2338797.1)

Last updated on JANUARY 18, 2023

Applies to:

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

Symptoms

Failure when applying a monitoring template onto targets. The template contains Metric extensions (MEs) and the error received is:

Error attaching Metric Extension

OMS logs are showing errors similar to:

2017-12-08 07:15:33,960 [RJob Step 279580681] ERROR view.EmMextVersionsVORowImpl logp.251 - Caught Exception while trying to attach metric extension to Target.
2017-12-08 07:15:33,965 [RJob Step 279580681] ERROR applicationModule.ApplyTemplateAMImpl logp.251 - deployMextAssocsToTarget :: Caught MextDeployException while Attach/Detach MEs to Target (oracle_database:<instance name>) monitored by agent (<Agent host name>:3872):JBO-AGENT_TARGET_LINK_BROKEN: Error attaching Metric Extension.
oracle.sysman.emSDK.core.mext.model.util.MextDeployException: JBO-AGENT_TARGET_LINK_BROKEN: Error attaching Metric Extension.
at oracle.sysman.sdkImpl.core.mext.model.view.EmMextVersionsVORowImpl.attachMextToTarget(EmMextVersionsVORowImpl.java:2031)

at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: oracle.sysman.emSDK.agent.client.exception.ExtensionStateException: The metric extension "ME$my_test_me" has not been deployed.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

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
References


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