{"id":46799,"date":"2026-09-18T18:00:33","date_gmt":"2026-09-18T16:00:33","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/?p=46799"},"modified":"2026-09-18T18:00:35","modified_gmt":"2026-09-18T16:00:35","slug":"listing-and-querying-oracle-enterprise-manager-metric-extensions","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/","title":{"rendered":"Listing and Querying Oracle Enterprise Manager Metric Extensions"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I recently wanted to work on Metric Extensions automation, and realized the task was a bit more complicated than I thought. My original idea was to look into the <code>emcli<\/code> verb list, but I was unlucky. In fact, <code>emcli<\/code> does not allow you to retrieve information about Metric Extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ emcli help | grep -i metric_extension\n    export_metric_extension           -- Export a metric extension to an archive file\n    get_unused_metric_extensions      -- Get a list of unused metric extensions\n    import_metric_extension           -- Import a metric extension archive file\n    publish_metric_extension          -- Publish a metric extension for use by all administrators\n    save_metric_extension_draft       -- Save a deployable draft of a metric extension<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I had to dig further, looking into the Enterprise Manager <code>SYSMAN<\/code> schema.<\/p>\n\n\n\n<h2 id=\"metric-extensions-are-not-stored-under-mgmt-views\" class=\"wp-block-heading\">Metric extensions are not stored under <code>MGMT$<\/code> views<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At first, I checked in the <code>MGMT$<\/code> views, in the <code>SYSMAN<\/code> schema. They usually hold all the relevant information you need when doing automation with the Enterprise Manager. The documentation gave me nothing about Metric Extensions there, and I did not find anything either:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT owner, object_name, object_type\nFROM dba_objects\nWHERE owner = 'SYSMAN'\nAND UPPER(object_name) LIKE '%EXTENSION%'\nORDER BY object_name;\n\nOWNER   OBJECT_NAME        OBJECT_TYPE\n------- ------------------ ------------\nSYSMAN  EM_TYPE_EXTENSION  PACKAGE\nSYSMAN  EM_TYPE_EXTENSION  PACKAGE BODY<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After a lot of searching, I found the undocumented <code>MEXT<\/code> views, where <strong>all the information on Metric Extensions is stored<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT owner, object_name, object_type\nFROM dba_objects\nWHERE object_name LIKE '%MEXT%'\nAND object_type IN ('TABLE', 'VIEW')\nORDER BY object_name;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This query returns more than a hundred objects. Among them, you can find a <code>EM_MEXT_VERSIONS<\/code> table.<\/p>\n\n\n\n<h2 id=\"em_mext_versions-is-the-catalog\" class=\"wp-block-heading\"><code>EM_MEXT_VERSIONS<\/code> is the catalog<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><code>EM_MEXT_VERSIONS<\/code> has one row per Metric Extension. Drafts, editable versions and published metrics are all stored here, with the same <code>name<\/code> column.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; DESC sysman.em_mext_versions\n\nName             Null?     Type\n---------------- --------- -------------\nMEXT_VERSION_ID  NOT NULL  NUMBER\nTARGET_TYPE      NOT NULL  VARCHAR2(256)\nNAME             NOT NULL  VARCHAR2(64)\nVERSION          NOT NULL  NUMBER\nDISPLAY_NAME     NOT NULL  VARCHAR2(64)\nSTATUS           NOT NULL  NUMBER(2)\nCREATION_DATE              DATE\n...<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Using a few useful columns, let\u2019s see what\u2019s inside:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT name, version, display_name, target_type, status, creation_date\nFROM sysman.em_mext_versions\nORDER BY name, version;\n\nNAME                           VERSION  DISPLAY_NAME          TARGET_TYPE  STATUS  CREATION_DATE\n------------------------------ -------- --------------------- ------------ ------- -------------\nME$minimal_uptime_check        1        Minimal Uptime Check  host         2       24-AUG-26\nME$minimal_uptime_check        2        Minimal Uptime Check  host         2       24-AUG-26\nME$minimal_uptime_check_clone  1        Minimal Uptime Check  host         2       24-AUG-26<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Every Metric Extension name starts with the <code>ME$<\/code> prefix. If you ever created a Metric Extension by hand in the web UI, the prefix is automatically added in the creation wizard. Regarding the <code>status<\/code> column, they are defined in the <code>SYSMAN.EM_MEXT<\/code> package:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>0 &#8211; <code>MEXT_STATUS_EDITABLE<\/code><\/strong>: for Metric Extensions still under development. They can still be edited, but can\u2019t be deployed to targets.<\/li>\n\n\n\n<li><strong>1 &#8211; <code>MEXT_STATUS_DEPLOYABLE_DRAFT<\/code><\/strong>: for Metric Extensions which can\u2019t be edited anymore, but can be deployed. Accessible only to you.<\/li>\n\n\n\n<li><strong>2 &#8211; <code>MEXT_STATUS_PUBLISHED<\/code><\/strong>: for published Metric Extensions, accessible by any EM user.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Every row above shows <code>status = 2<\/code>, meaning that all versions were published.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can of course combine multiple <code>SYSMAN<\/code> views to retrieve the list of Metric Extensions and the targets they are deployed on:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT t.target_name, t.target_type, v.name AS metric_name, v.version, v.display_name AS metric_display_name\nFROM sysman.em_mext_versions v\nJOIN sysman.em_mext_target_assoc ta ON ta.mext_version_id = v.mext_version_id\nJOIN sysman.mgmt$target t ON t.target_guid = ta.target_guid\nORDER BY t.target_name, v.name, v.version;\n\nTARGET_NAME  TARGET_TYPE  METRIC_NAME              VERSION  METRIC_DISPLAY_NAME\n------------ ------------ ------------------------ -------- --------------------\nvmogg        host         ME$minimal_uptime_check  1        Minimal Uptime Check\n...<\/code><\/pre>\n\n\n\n<h2 id=\"how-to-know-what-a-metric-extension-runs-\" class=\"wp-block-heading\">How to know what a Metric Extension runs ?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If a Metric Extension runs plain OS commands, querying <code>SYSMAN.EM_MEXT_VERSIONS<\/code> is enough to know everything about it. This becomes wrong if the Metric Extension carries a custom uploaded script or runs against the repository instead of a target. For these Metric Extensions, you should query <code>SYSMAN.EM_MEXT_ATTACHMENTS<\/code>, where the <code>FILENAME<\/code> gives you the name of the script being shipped with the metric:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; DESC sysman.em_mext_attachments\n\nName             Null?     Type\n---------------- --------- -------------\nMEXT_VERSION_ID  NOT NULL  NUMBER\nFILENAME         NOT NULL  VARCHAR2(255)\nFILE_CONTENTS              BLOB<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I cloned <code>ME$minimal_uptime_check<\/code> with <strong>Create Like<\/strong>, then in the Adapter step changed the command from a literal <code>\/bin\/echo<\/code> to <code>%perlBin%\/perl<\/code> running an uploaded script, referenced as <code>%scriptsDir%\/uptime_check.pl<\/code>. Custom files are attached from the same step, in the <strong>Upload Custom Files<\/strong> panel:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"370\" height=\"110\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png\" alt=\"\" class=\"wp-image-46984\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png 370w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1-300x89.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once confirmed, the file shows up in the adapter\u2019s file list with its size, and gets packaged into the Metric Extension itself:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"245\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/002_mext-adapter-upload-custom-files-8b4c21-1.png\" alt=\"\" class=\"wp-image-46985\" srcset=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/002_mext-adapter-upload-custom-files-8b4c21-1.png 700w, https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/002_mext-adapter-upload-custom-files-8b4c21-1-300x105.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Querying the repository afterward confirms it landed exactly where the package source implied:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT v.name, v.version, a.filename, DBMS_LOB.GETLENGTH(a.file_contents) AS bytes\nFROM sysman.em_mext_versions v\nJOIN sysman.em_mext_attachments a ON a.mext_version_id = v.mext_version_id\nWHERE v.name = 'ME$script_uptime_check';\n\nNAME                    VERSION  FILENAME         BYTES\n----------------------- -------- ---------------- -----\nME$script_uptime_check  1        uptime_check.pl  39<\/code><\/pre>\n\n\n\n<h2 id=\"retrieving-the-full-metric-definition\" class=\"wp-block-heading\">Retrieving the full metric definition<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are a few other relevant LOB columns in <code>SYSMAN.EM_MEXT_VERSIONS<\/code>: <code>METADATA_DEFINITION<\/code>, <code>COLLECTION_DEFINITION<\/code> and <code>MEXT_ARCHIVE<\/code>. Selecting <code>METADATA_DEFINITION<\/code> for <code>minimal_uptime_check<\/code> returns the whole <code>&lt;Metric&gt;<\/code> definition as XML:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT metadata_definition\nFROM sysman.em_mext_versions\nWHERE name = 'ME$minimal_uptime_check'\nAND version = 1;\n\n&lt;Metric NAME=\"ME$minimal_uptime_check\" TYPE=\"TABLE\"&gt;\n    &lt;Display&gt;\n        &lt;Label NLSID=\"NLS_METRIC_hostME$minimal_uptime_check\"&gt;Minimal Uptime Check&lt;\/Label&gt;\n        &lt;Description NLSID=\"NLS_DESCRIPTION_hostME$minimal_uptime_check\"&gt;Minimal test ME - single OS command column, no credentials.&lt;\/Description&gt;\n    &lt;\/Display&gt;\n    &lt;TableDescriptor&gt;\n        &lt;ColumnDescriptor NAME=\"value\" TYPE=\"NUMBER\"&gt;\n            &lt;Display&gt;\n                &lt;Label NLSID=\"NLS_COLUMN_hostME$minimal_uptime_checkvalue\"&gt;Value&lt;\/Label&gt;\n            &lt;\/Display&gt;\n        &lt;\/ColumnDescriptor&gt;\n    &lt;\/TableDescriptor&gt;\n    &lt;QueryDescriptor FETCHLET_ID=\"OSLineToken\"&gt;\n        &lt;Property NAME=\"command\" SCOPE=\"GLOBAL\"&gt;\/bin\/echo&lt;\/Property&gt;\n        &lt;Property NAME=\"scriptLoc\" SCOPE=\"GLOBAL\" OPTIONAL=\"TRUE\"&gt;%scriptsDir%&lt;\/Property&gt;\n        &lt;Property NAME=\"args\" SCOPE=\"GLOBAL\" OPTIONAL=\"TRUE\"&gt;em_result=1&lt;\/Property&gt;\n        &lt;Property NAME=\"delimiter\" SCOPE=\"GLOBAL\" OPTIONAL=\"TRUE\"&gt;|&lt;\/Property&gt;\n        &lt;Property NAME=\"startsWith\" SCOPE=\"GLOBAL\" OPTIONAL=\"TRUE\"&gt;em_result=&lt;\/Property&gt;\n        &lt;Property NAME=\"ENVEM_TARGET_NAME\" SCOPE=\"INSTANCE\" OPTIONAL=\"TRUE\"&gt;NAME&lt;\/Property&gt;\n        &lt;CredentialRef NAME=\"OSCreds\"&gt;&lt;\/CredentialRef&gt;\n    &lt;\/QueryDescriptor&gt;\n&lt;\/Metric&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">A few observations here:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>FETCHLET_ID=\"OSLineToken\"<\/code> is the fetchlet<\/li>\n\n\n\n<li><code>command<\/code>, <code>args<\/code>, <code>delimiter<\/code> and <code>startsWith<\/code> are the fields filled when creating the metric.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Another column, <code>COLLECTION_DEFINITION<\/code>, gives the schedule of the Metric Extension. Here, it is set to run every 15 minutes, which is the default schedule for Metric Extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT collection_definition\nFROM sysman.em_mext_versions\nWHERE name = 'ME$minimal_uptime_check'\nAND version = 1;\n\n&lt;CollectionItem NAME=\"ME$minimal_uptime_check\" UPLOAD=\"YES\"&gt;\n\t&lt;Schedule&gt;\n\t\t&lt;IntervalSchedule INTERVAL=\"15\" TIME_UNIT=\"Min\"\/&gt;\n\t&lt;\/Schedule&gt;\n\t&lt;MetricColl NAME=\"ME$minimal_uptime_check\"&gt;\n\t&lt;\/MetricColl&gt;\n&lt;\/CollectionItem&gt;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, <code>MEXT_ARCHIVE<\/code> holds the whole archive as a single <code>BLOB<\/code>. Exporting it to a file with <code>UTL_FILE<\/code> gives us a <code>.zip<\/code> file which holds the full definition of the Metric Extension. But you don\u2019t need to do all of this, because this is the exact same zip that <code>emcli export_metric_extension<\/code> generates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A side note on <strong>repository-side Metric Extensions<\/strong>, which can also be created from the web UI. For these, there are a few pre-requisites: <code>TARGET_GUID<\/code> <strong>must be the first column<\/strong>, the query can only reference <code>MGMT$<\/code> repository views (not other <code>SYSMAN<\/code> tables), and it runs as the <code>MGMT_VIEW<\/code> user.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Querying <code>SYSMAN.EM_MEXT_VERSIONS<\/code> gives you the full SQL query, under the <code>REPOS_SQL<\/code> column. Use <code>IS_REPOSITORY<\/code> to filter repository-side Metric Extensions.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SQL&gt; SELECT name, version, is_repository, repos_sql\nFROM sysman.em_mext_versions\nWHERE name = 'ME$sql_target_count';\n\nNAME                 VERSION  IS_REPOSITORY  REPOS_SQL\n-------------------- -------- -------------- --------------------------------------------------------------------------------------------\nME$sql_target_count  1        1              SELECT target_guid, target_type, 1 AS host_count FROM mgmt$target WHERE target_type = 'host'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this will help you navigate Metric Extensions outside of the web UI, for automation work. This gave us a first glimpse of the archive format, which deserves a closer look of its own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently wanted to work on Metric Extensions automation, and realized the task was a bit more complicated than I thought. My original idea was to look into the emcli verb list, but I was unlucky. In fact, emcli does not allow you to retrieve information about Metric Extensions. I had to dig further, looking [&hellip;]<\/p>\n","protected":false},"author":152,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[59],"tags":[4214,4212,4213,761,96,2046,98],"type_dbi":[4216,4215,4217,4010,2728,4218],"class_list":["post-46799","post","type-post","status-publish","format-standard","hentry","category-oracle","tag-emcli","tag-enterprise-manager-2","tag-metric-extension","tag-oem","tag-oracle","tag-query","tag-sql","type-emcli","type-enterprise-manager-3","type-metric-extension","type-oem","type-oracle","type-sql"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.5 (Yoast SEO v28.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Listing and Querying Oracle Enterprise Manager Metric Extensions - dbi Blog<\/title>\n<meta name=\"description\" content=\"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Listing and Querying Oracle Enterprise Manager Metric Extensions\" \/>\n<meta property=\"og:description\" content=\"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-18T16:00:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-18T16:00:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"370\" \/>\n\t<meta property=\"og:image:height\" content=\"110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Julien Delattre\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julien Delattre\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/\"},\"author\":{\"name\":\"Julien Delattre\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\"},\"headline\":\"Listing and Querying Oracle Enterprise Manager Metric Extensions\",\"datePublished\":\"2026-09-18T16:00:33+00:00\",\"dateModified\":\"2026-09-18T16:00:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/\"},\"wordCount\":644,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/09\\\/001_mext-upload-attachment-dialog-7f2a19-1.png\",\"keywords\":[\"emcli\",\"enterprise-manager\",\"metric-extension\",\"OEM\",\"Oracle\",\"query\",\"SQL\"],\"articleSection\":[\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/\",\"name\":\"Listing and Querying Oracle Enterprise Manager Metric Extensions - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/09\\\/001_mext-upload-attachment-dialog-7f2a19-1.png\",\"datePublished\":\"2026-09-18T16:00:33+00:00\",\"dateModified\":\"2026-09-18T16:00:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\"},\"description\":\"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/09\\\/001_mext-upload-attachment-dialog-7f2a19-1.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2026\\\/09\\\/001_mext-upload-attachment-dialog-7f2a19-1.png\",\"width\":370,\"height\":110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/listing-and-querying-oracle-enterprise-manager-metric-extensions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Listing and Querying Oracle Enterprise Manager Metric Extensions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/764ab019cc9dec42655b4c6b9b8e474e\",\"name\":\"Julien Delattre\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g\",\"caption\":\"Julien Delattre\"},\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/juliendelattre\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Listing and Querying Oracle Enterprise Manager Metric Extensions - dbi Blog","description":"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/","og_locale":"en_US","og_type":"article","og_title":"Listing and Querying Oracle Enterprise Manager Metric Extensions","og_description":"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.","og_url":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/","og_site_name":"dbi Blog","article_published_time":"2026-09-18T16:00:33+00:00","article_modified_time":"2026-09-18T16:00:35+00:00","og_image":[{"width":370,"height":110,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png","type":"image\/png"}],"author":"Julien Delattre","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julien Delattre","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/"},"author":{"name":"Julien Delattre","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"headline":"Listing and Querying Oracle Enterprise Manager Metric Extensions","datePublished":"2026-09-18T16:00:33+00:00","dateModified":"2026-09-18T16:00:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/"},"wordCount":644,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png","keywords":["emcli","enterprise-manager","metric-extension","OEM","Oracle","query","SQL"],"articleSection":["Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/","url":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/","name":"Listing and Querying Oracle Enterprise Manager Metric Extensions - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png","datePublished":"2026-09-18T16:00:33+00:00","dateModified":"2026-09-18T16:00:35+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e"},"description":"emcli has no verb to list Metric Extensions. Query SYSMAN.EM_MEXT_VERSIONS instead, plus where uploaded scripts and repository SQL live.","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2026\/09\/001_mext-upload-attachment-dialog-7f2a19-1.png","width":370,"height":110},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/listing-and-querying-oracle-enterprise-manager-metric-extensions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Listing and Querying Oracle Enterprise Manager Metric Extensions"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/764ab019cc9dec42655b4c6b9b8e474e","name":"Julien Delattre","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a97d00e680bbf237126e24b65281cbcb66cd20bd1ed2d14bf928991b2bf68eb5?s=96&d=mm&r=g","caption":"Julien Delattre"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/juliendelattre\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/46799","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/152"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=46799"}],"version-history":[{"count":3,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/46799\/revisions"}],"predecessor-version":[{"id":46986,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/46799\/revisions\/46986"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=46799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=46799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=46799"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=46799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}