Monitoring

How to monitor JBoss with snapshots?

User Rating: 3 / 5

Star ActiveStar ActiveStar ActiveStar InactiveStar Inactive
 

 

JBoss gives you the ability to capture data not only in real time but also over regular intervals.
You can start or stop the data collection process according to your needs. Then you can return later to analyze the collected values.

To create a snapshot open the Web Console and point to the JMX MBean you want to monitor.
Then choose the Create Snapshot menu item on the specific attribute you want to monitor.

jboss snapshot
You’ll be presented with a simple configuration form. You only need to enter the measurement time
period. This is the time between measurements, in milliseconds. To monitor the value every 100ms enter 100 in the corresponding text field and click the Create button.

jboss monitoring

To start the snapshot of memory usage, click the Start Snapshot button.
Wait a few seconds for JBoss to collect measurements. Now you should see your snapshot available in the upper Monitoring Menu:

jboss monitor
Ok, now click on the Snapshot : you might analyze it graphically or display the collected data.
The Graph Dataset button will give you a graph like the one shown in.

Notice that the graph isn’t a live graph. It’s a fixed graph of the data collected up to that point. This graph will give you a good idea of what happened over the specified time period. If you need better analysis capabilities, click Show Dataset, which displays all the collected data. You can select the data in the dataset view, and copy and paste it to an application such as Excel that can perform more sophisticated numerical analysis.

Related articles available on mastertheboss.com

How to monitor JBoss CPU usage ?

  JBoss AS 7 users and WildFly can use JConsole in order to moni

How to monitor jboss graphically ?

  You’ve been using the JMX Console to access yourMBeans. In thi

JBoss Alarm configuration

An Alarm indicates that an event (generally an error) has happene

Monitoring JBoss EJB Container

In this article we will show how easily you can write an Intercep

Monitor JBoss AS with Jolokia

Jolokia is a cool monitoring solution for accessing JMX MBeans re

How to solve java.lang.OutOfMemoryError: unable to create new nat

In Java you can stumble upon two kind of Out of Memory errors:

Follow us on Twitter