Using EMCLI (Enterprise Manager Command Line Interface)

I received an email on a distribution list I’m on from someone that was looking at scripting a bunch of stuff that can be done via the Enterprise Manager 12c user interface. The writer had looked at the Enterprise Manager Command Line Interface (EMCLI) documentation, and was asking for additional materials, blogs etc. that might provide explanations and examples for scripting things like customization of metrics, alerts, notifications, and similar things inside the EM12c environment.

I put them in contact with the EMCLI product manager at Oracle, and she provided an answer I think is worth sharing. She said:

“I am delighted you are starting to use EM CLI. Have you seen the screenwatches on getting started with emcli?

Getting Started and Downloading EM CLI in Interactive Mode

Getting Started with EMCLI in Script Mode

And there are two blogs which have been written:

Using EM CLI for mass update of Lifecycle Status Property Value

EM CLI, diving in and beyond!

I have attached a few EMCLI used in the demos and blog (please modify the necessary variables, target names, groups and OMS URL.) I hope this is enough to get you started and clear the haze.”

Pete

After 22 years of working at Oracle in just about every role except Marketing and Support, I am now working as a Senior Managed Services Consultant with Red Stack Tech, specializing in Oracle Database technology, High Availability and Disaster Recovery solutions.

I am also a member of the OakTable Network, and have presented at RMOUG Training Days, Hotsos Symposia, Oracle OpenWorld conferences, and other user group events. I have co-authored the Expert Oracle Enterprise Manager 12c and Practical Oracle Database Appliance books published by Apress, and am one of the authors of the Building Database Clouds in Oracle Database 12c book published by Addison Wesley.

Leave a Reply

Your email address will not be published. Required fields are marked *