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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.