Oracle ACE, Sr. Technical Specialist at Enkitec
Specialize in performance and management of
large enterprise environments.
Board of directors for RMOUG, Director of
Training Days 2013 and Database Track
Committee for KSCOPE 2013
Why We Monitor our
notification of issues before
resulting in outages/impact to users.
Awareness of performance, resource
usage and demands.
Data collection to investigate
performance issues- current, recent and
Monitoring and Notification
Yahoo News- “Over 70% of workers would give
up shower[ing] to eliminate unnecessary
Paging with “Successful” and/or “I’m OK”.
Not alerting for enough types of failures,
instead covering with when complete.
Paging on “Warning”
Setting Critical thresholds too high vs. giving
time to correct.
When Extend Current
or proprietary applications
could benefit from monitoring and
EM12c is all about adaptive and selfservice.
Effective Monitoring of all mission-critical
systems allows the business to be proactive saving it time, resources and
Why Not Enhance User
Library to store and view.
No development cycle support, (dev
Lack of versioning.
Rules vs. Metric Thresholds
• Rule are Set Globally.
• Rules are Independent of Database Metric Settings.
What Are Metric Extensions?
A dynamically configured extensions feature
allowing to monitor environment specific
Simplifies monitoring of operational processes
that once only existed outside of the EM12c
Eliminates requirements for secondary
monitoring and management tools.
Eliminate need for external scripting that may
require more monitoring logic than EM Jobs
Metric Extensions Details
Metric Extensions replace the formerly known “User
User Defined Metrics were limited to database and
host types, no longer with Metric Extensions.
Ability to build a metric extensions library to utilize for
your own environment.
Full development cycle support
Using specific protocols , the Oracle Integration
Adapter gathers data about targets for use with
Metric Extension “Verbage”
Extensions Use the following:
Target Type- Required to tell the metric
what “tools” will be required to monitor.
Adapter- The type of “communicator”
required to execute the metric extension.
Collection Frequency- Interval settings to
collect the information.
Columns- Returned data from output and
metric value settings.
Metric Extension Types
Java, including Jboss, JVM, OC4J, etc.
OMS- OMS, Repository, Platform
Oracle Access Managers
Oracle Exadata system and components
Oracle HTTP and Weblogic server
Metric Determines the
Depending on the type of Target, the
Adapter used by the Metric Extension
Java- JMX(Java Mgmt Extensions/OS
Cluster Database- OS Cmd/SQL
Apache HTTP Server- OS CMD
The “More” of Metric
A simple wizard allows for easy development
and refinement of metric extensions.
Ability to test metrics using the “Test Page”
allows an ability to run real-time metric
evaluations to ensure definitions and scripts
are free of errors before deploying.
Loved, stand-alone scripts, with small changes
can become metric extensions, too!
o Testing can be done as many times as
o A full explanation of any failure is shown
in the “Error Message” Window.
o A full log of the tests are retained in the
Metric Extensions Testing History.
rinse, and repeat, (deploy/publish!)
Only publish once you are satisfied that all
testing was performed adequately.
Things to Remember
No Metric Extension is active UNTIL it is
Just because a metric extension is in the
library, does not mean that it is ready to
deploy and should always be tested before
You are deploying the metric extension to the
target, so if you are using a script, the script
will need to be on the (remote) target.
EM CLI and Metric Extensions
Metric Extension Verbs
-- Export a metric extension to an archive file
-- Get a list of unused metric extensions
-- Import a metric extension archive file
-- Publish a metric extension for use by all administrators
-- Save a deployable draft of a metric extension
Make it Easy on Yourself
emcli help <verb> is your friend…
Metric Extensions Summary
development metric extension,
wizard will simplify process.
Test with test page and verify that all
steps, all features of the metric extension
Deploy to target separately or to groups.
Utilize to fulfill any missing areas in
Step by Step to create a metric extension from Rob Zoeteweijhttp://oemgc.files.wordpress.com/2012/05/using-metric-extensions-inem12c.pdf
Oracle: Create and Use Metric Extensionshttp://www.oracle.com/webfolder/technetwork/tutorials/obe/em/em12c/
My Contact Info!
Company Website: www.enkitec.com
Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group
Email: email@example.com or firstname.lastname@example.org or
Who: You and the world’s
leading authorities on
Exadata, all in one place.
What: Two days of deep
diving into the internals of all
things Exadata — providing
the tools and knowledge you
need to fully harness its
When: E4 will be held on
August 5-6, 2013; 8:00 a.m. to
5 p.m. each day.
Where: Four Seasons Hotel &
Resort, Irving, Texas, AND
Why: Because Exadata
machines everywhere want to
be fully understood and