users@glassfish.java.net

Re: [Fwd: Remind me, where are the JMX beans for request counts etc (glassfish 3.1)?]

From: Barry van Someren <barry_at_coffeesprout.com>
Date: Wed, 5 Jan 2011 00:18:39 +0100

Hi Jennifer,

Yes, I did find them, but at first the AMX beans are no longer showing until
you boot AMX through JMX.
Work has kept me busy with Glassfish 2.1 so I was not used to the new MBean
layout.

Thanks for helping out though, I can now get all the monitoring data.
Any chance of the monitoring data getting rolled into "glassfish" instead of
AMX or is AMX here to stay?

Thanks a lot all.

Regards,

Barry

On Tue, Jan 4, 2011 at 10:57 PM, Jennifer Chou <jennifer.chou_at_oracle.com>wrote:

> Hi Barry,
>
> In jconsole (localhost:8686), go to MBeans tab. Look for the monitoring
> mbeans which will have '-mon' suffix. For example 'request-mon', with the
> object name
>
> 'amx:pp=/mon/server-mon[server],type=request-mon,name=http-service/server/request'
>
>
>
> HTH,
> Jennifer
>
> On 1/4/2011 2:48 PM, Nazrul Islam wrote:
>
> Hi Jennifer,
>
> Could you please respond to this forum question? Thanks.
>
>
> ------------------------------
>
> Subject:
> Remind me, where are the JMX beans for request counts etc (glassfish 3.1)?
> From:
> Barry van Someren <barry_at_coffeesprout.com> <barry_at_coffeesprout.com>
> Date:
> Tue, 4 Jan 2011 20:09:47 +0100
> To:
> users_at_glassfish.dev.java.net
> To:
> users_at_glassfish.dev.java.net
>
> Hi all,
>
> I'm working on a project together with a colleague that monitors
> servers using JMX.
> My part in this is working on some Glassfish specifics and
> specifically I'm trying to find the monitoring results for things such
> as requestCount, 500Count, etc..
> These used to become visible in JMX when you turn monitoring up on the
> HTTP Server.
>
> I'm seeing the values in the Admin console, but I can't seem to find
> them under any of the JMX MBeans.
> Under the admin console you can find these by opening Server (Admin
> Server) -> Monitor -> Server under the following:
> "Web Container: Request Statistics"
>
> This is using: 3.1-b31 (build 31)
> Please tell me it's still there :)
>
> Regards,
>
> Barry
>
>
>
>
>


-- 
Barry van Someren
---------------------------------------
LinkedIn: http://www.linkedin.com/in/barryvansomeren
Skype: BvsomerenSprout
Blog: http://blog.bvansomeren.com
KvK: 27317624
M: +31 (0)6-81464338
T: +31 (0)70-2500450