JBoss AS 7 monitoring: JMS, JVM and Http Connectors
git clone git://github.com/kijanowski/buffalo.git mvn clean install cp target/buffalo.war $JBOSS_HOME/standalone/deployments/Start JBoss with the standalone-full profile to have the hornetq messaging subsystem enabled. Pass
-c standalone-full.xmlto the standalone.sh or standalone.bat script. Access
http://IP:port/buffalo/rest/messaging/default/queue/testQueueto collect metrics for the testQueue.
Now it's time to add JBison into the game. Let's create a JSON monitor, which will fire email notifications if the number of messages in a queue reaches 100:
I started adding messages into the queue without processing them:
The queue filled up and I got an email notifying me, that one of the metrics got violated:
For further details on what resources and metrics are exposed by buffalo, take a look at buffalo's getting started guide.
Also sign up for a free JBison account and start monitoring your JBoss resources.