My Oracle Support Banner

EM 12c,13c: "emctl getmetric agent" Command Fails with Invalid Target Metric specification (Doc ID 2389373.1)

Last updated on APRIL 20, 2018

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

EM 12C/13C

Retrieving database response metric fails , applicable for any type of target metric

cd $<AGENT_INST>/bin>./emctl getmetric agent <DBNAME> ,oracle_database,Response

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Invalid Target Metric specification: Invalid Target Specification: <DBNAME>,
Usage:
emctl getmetric agent TARGETNAME,TARGETTYPE,METRICNAME [-force]
Performs a realtime evaluation of the metric and displays the results for the specified metric
-force : (optional) if specified, evaluate the metric even if the target is in blackout

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!


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