users@glassfish.java.net

JMX based Glassfish V3 monitoring & config equivalent to bootAMX() operation

From: Cyrille Le Clerc <cleclerc_at_cloudbees.com>
Date: Mon, 20 May 2013 21:28:15 +0200

Hello,

I want to monitor Glassfish via its JMX mbeans (requestCount,
processingTime, ...).

 * Could someone confirm me that the recommended way to monitor Glassfish
v3 via JMX is to use AMX monitoring MBeans (see (1) below) ?
 * is there a configuration parameter equivalent to the of the "bootAMX()"
operation of the "amx-support:type=boot-amx" mbean to load the Glassfish v3
monitoring mbeans ?

Cyrille



(1) Glassfish3 monitoring MBeans I am interested in
objectName="amx:pp=/mon/server-mon[server],type=web-request-mon,name=web/request"
attribute="requestcount" key="count"
objectName="amx:pp=/mon/server-mon[server],type=web-request-mon,name=web/request"
attribute="errorcount" key="count" resultAlias="request_errorCount"
objectName="amx:pp=/mon/server-mon[server],type=web-request-mon,name=web/request"
attribute="processingtime"
 objectName="amx:pp=/mon/server-mon[server],type=session-mon,name=web/session"
attribute="activesessionscurrent" key="current"
...