Are there any utilities to monitor GlassFish?

Paraphrased from the users@glassfish mailing list:

Q. Are there any utilities or tools that monitor the GlassFish web layer? For example, something to act like a proxy between GlassFish and clients and collect statistics about requests and the time it takes those requests to complete? I am looking for an all-in-one monitoring application that helps me see the state of requests, memory, connections, JMS, etc. at a time and after a day of work. Is such a tool available?

A.

Witold Szczerba: For basic information about JVM and everything exposed by JMX, you can use Sun Java 6 Monitoring and Management Console – it is included by default in every JDK since 1.5 or maybe earlier as well (I am not sure if it is included in JRE, but you have JDK anyway). The executable is called jconsole. I found it suitable for me as I can see mem/cpu usage, thread count, I can call the garbage collector, see JMS statistics, etc.

Chris Fleischmann: You might be interested in looking at GlassBox (as well as the aforementioned JMX console (jconsole):

Gabor Szokoli: Munin is a nice counter-graphing tool, and it has a JMX plugin.

GlassFish Enterprise Manager

Starting with GlassFish v2.1, GlassFish Enterprise customers have the ability to use the Performance Monitor portion of the GlassFish Enterprise manager.


MoSKito is a nice option. It's a multi-purpose kit, and it's free & open source.

It collects many types of stats, performance or business (threads, memory, caches, request count, CPU, users, payments, registrations, etc). The good thing is that it's non-invasive, you don't need to insert anything into your code, just plug it via filters or proxies or annotations.

It can also display the collected stats as charts, which is handy if you need the end-of-the-day analysis. On top of all, it has an add-on for setting up a local data warehouse and a nice tool for pulling performance info from multi-node apps.

Posted by 25996 at Aug 22, 2013 12:51