Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

emcli collect_config Enhancement similar to collect_metric ?

ArunBaveraMar 1 2019 — edited Jun 2 2020

Hi All,

I have a requirement to collect config collection manually as sometime we have seen rac_config and db_config doesn't collect proper DATABASE_ROLE information especially if the DB is in Standby Role.

I don't want to login to each agent and run this using

emctl control agent runCollection TARGET_NAME:rac_database oracle_racconfig

emctl control agent runCollection TARGET_NAME:oracle_database oracle_dbconfig

There is command in emcli for collecting the Metrics but not for config collection:

emcli collect_metric -target_name=name -target_type=type -metric_name=metric_name | -collection_name=user_defined_metric_name

[ ] denotes that the parameter is optional

But doesn't work for config collection using emcli

Do have similar command in emcli for config collection adhoc?

Reference:

@https://docs.oracle.com/cd/E63000_01/EMCLI/cli_verb_ref.htm#EMCLI392

Cloud Control 12c: How to view metric values using emcli (Doc ID 1572180.1)

This post has been answered by ArunBavera on Mar 1 2019
Jump to Answer
Comments
Post Details
Added on Mar 1 2019
1 comment
307 views