I'm using JBoss AS 7.1.1 and mod_cluster version 1.2. I'm trying to get access to the individual load metric values before they are aggregated (AS side). I'd like to be able to grab each of the individual metrics mod_cluster provides, like the BusyConnectorsLoadMetric so that I can graph their values over time. I saw this post Exposing load metrics via JMX, but when trying to deploy the mod_cluster.sar I ran into issues regarding the use of the <annotation> elements in mod_cluster-jboss-beans.xml, as they are no longer supported in JBoss 7.

So my questions are:

1.) Is there anyway to poll the individual (AS side) mod_cluster metrics via JMX or Jboss CLI before they are aggregated?

2.) Is there a straight forward way to poll the aggregated load metric value (httpd side), besides grepping the mod_cluster status page?