This discussion is archived
2 Replies Latest reply: Dec 7, 2011 10:54 PM by 903575 RSS

Developing JMX Fetchlet to retrieve TabularData

900595 Newbie
Currently Being Moderated
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"/>

Any help on this would be greatly appreciated.


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