Google+ Followers

Wednesday, October 26, 2016

Monitoring Artemis on JBoss EAP 7 with Hawtio

In case you want to use Hawtio on JBoss EAP 7 to monitor the Apache ActiveMQ Artemis message broker, you can follow these steps


  • Download hawtio 1.4.66 from https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-no-slf4j/1.4.66/hawtio-no-slf4j-1.4.66.war
  • Copy hawtio-no-slf4j-1.4.66.war to JBOSS_HOME/standalone/deployments/hawtio.war 
  • Build the Hawtio Artemis Plugin

git clone https://github.com/rh-messaging/artemis-hawtio/
cd artemis-hawtio
mvn clean install

  • Copy artemis/target/artemis-plugin-1.0.0-SNAPSHOT.war to JBOSS_HOME/standalone/deployments/artemis-plugin.war
  • Execute the following commands via the JBoss CLI

/subsystem=messaging-activemq/server=default:write-attribute(name=jmx-management-enabled, value=true)
/subsystem=messaging-activemq/server=default:write-attribute(name=statistics-enabled,value=true)

Now you navigate to http://<JBoss-Management-IP>:8080/hawtio and watch Hawtio in action.

Below you can find example when pushing Artemis to it's limits, using a custom dashboard to show queue statistics: