Using an objectName template value for a single custom plug-in resource type's MBeanResourceDiscoveryComponent class to discover multiple MBeans

Solution Unverified - Updated -

Issue

  • Expose different MBeans on a single plugin
  • Multiple MBeans under a single service
  • Display MBeans under one resource as a single service
  • Use a single resource type for multiple MBeans which have the same objectName naming convention

Environment

  • Red Hat JBoss Operations Network (ON) 3.2
  • Custom JMX agent plug-in derived from org.rhq.plugins.jmx.MBeanResourceComponent using the discovery class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent.
  • Multiple management beans (MBeans) deployed which implement or extend the same MBean and have the same MBean object name pattern such as com.example:name=*,type=MyCustomMBean

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content