Sunday, May 26, 2013

JBoss AS 7 monitoring: JMS, JVM and Http Connectors


In the previous post I explained how to monitor JBoss AS 7 resources with JBison. I extended the sample web application called buffalo, to collect JMS, JVM and Http Connector metrics. Check out, compile and deploy buffalo in JBoss AS 7:
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.xml
to the standalone.sh or standalone.bat script. Access
http://IP:port/buffalo/rest/messaging/default/queue/testQueue
to 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.

1 Comments:

At March 5, 2022 at 4:17 PM , Blogger narsiwachowski said...

Menus T-Shirts - Mens Titanium Necklace (BK)
Menus T-Shirts: Mens cerakote titanium T-Shirts - Mens titanium septum ring T-Shirts. titanium for sale Menus T-Shirt. Menus T-Shirt. Menus T-Shirt. Menus titanium teeth dog T-Shirt. Menus titanium screws T-Shirt. Menus T-Shirt.

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home