3 Replies Latest reply on Jun 10, 2014 7:00 PM by raylite3

    Datatypes supported by JMX plugin

    raylite3 Apprentice


      I created a simple custom JMX plugin using the org.rhq.plugins.jmx.MBeanResourceComponent/MBeanResourceDiscoveryComponent.


      And it works fine for a property that is a number like a count. Can I also specify a string value like a status and use it for the availability check ? Would I specify that datatype as a 'trait' ? I don't see this property (in the Monitoring tab) when I specify it as a 'trait'.

      I also have a CacheMBean that returns a CacheStat object for one of its attributes. Can I use one of the fields within this CacheStat object as my metric?