This discussion is archived
0 Replies Latest reply: Dec 3, 2013 1:27 PM by user13475271 RSS

Oracle Enterprise Manager JMX Fetchlet

user13475271 Newbie
Currently Being Moderated



I am looking for help with the following sample. I have added the following xml tags to an xml file. I then created a plugin and then deployed to Oracle Enterprise Manager 12c. And I changed some of the tags to match my implementation. But I didn't and don't know what should be the input for




Since I wasn't able to change this entry correct, there was a Metric Collection Error. It complained JMX_HOSTNAME. I thank you in advance for any help you could provide.




Developing JMX Fetchlet to retrieve TabularData


I am currently developing a custom plug-in on OEM 12c that would allow me to collect metrics from a MXBean I have deployed in a Java Container. The JMX fetchlet is calling an operation on my MXBean. The operation returns a object. Everything seems to be working as in I get no complaints from either the Management Agent or Management Service but when reviewing the Agent logs I see that no rows : {} are returned during the collection. My questions are:


1. Does OEM support TabularData,

2. If OEM does not support what TabularData does it support?



I have included snippets of my target type and default collections file pertaining to this operation.


Target Type

<Metric NAME="TShirts" TYPE="TABLE">


<Label NLSID="tshirts_displayname">Test TShirts</Label>



<ColumnDescriptor NAME="model" TYPE="STRING" IS_KEY="TRUE">


<Label NLSID="display_model">Model</Label>



<ColumnDescriptor NAME="color" TYPE="STRING" IS_KEY="TRUE">


<Label NLSID="display_color">Color</Label>



<ColumnDescriptor NAME="size" TYPE="STRING" IS_KEY="TRUE">


<Label NLSID="display_size">Size</Label>



<ColumnDescriptor NAME="price" TYPE="NUMBER" IS_KEY="FALSE">


<Label NLSID="display_price">Price</Label>




<QueryDescriptor FETCHLET_ID="JMX">


<Property NAME="serviceURL" SCOPE="GLOBAL">service:jmx:rmi:///jndi/rmi://%jmx_hostName%:1099/karaf-root</Property>

<Property NAME="UserName">smx</Property>

<Property NAME="password">smx</Property>

<Property NAME="metric"></Property>

<Property NAME="operation">listTShirts</Property>

<Property NAME="columnOrder">model;color;size;price</Property>




Default Collections

<CollectionItem NAME="TShirts" UPLOAD="6">


<IntervalSchedule INTERVAL="5" TIME_UNIT="Min"/>


<MetricColl NAME="Model"/>

<MetricColl NAME="Color"/>

<MetricColl NAME="Size"/>

<MetricColl NAME="Price"/>



  • Correct Answers - 10 points
  • Helpful Answers - 5 points