3 Replies Latest reply on Feb 3, 2015 6:00 PM by Thomas Kuther

    JMX: expose jboss.as mbeans to -javaagent clients

    Thomas Kuther Newbie

      I'm looking for a way to monitor metrics from jboss.as: mbeans. I failed to get "external" agents like jmxtrans or metrics-sampler working at all, following any guide I could find (mostly adding jboss-client.jar and using http-remoting-jmx protocol). And wildfly-monitor is not yet usable.


      I did manage to get jmxtrans-agent working, mostly. The only missing pieces are jboss.as: mbeans like datasource und undertow subsystem active session metrics etc.


      In JMX subsystem (domain mode) I have:


      <subsystem xmlns="urn:jboss:domain:jmx:1.3">
              <remoting-connector use-management-endpoint="false"/>


      But jmxtrans-agent is unable to read any of the jboss exposed mbeans. Works fine in JConsole using http-remoting-jmx.

      Why is the -javaagent client unable to read those, and is there a way to fix this by configuration?


      Thanks for any pointers.