users@glassfish.java.net

Re: Writing probes for Glassfish container events

From: Jennifer Galloway <jennifer.chou_at_oracle.com>
Date: Wed, 15 Feb 2012 23:07:12 -0500

Did you see the doc on Monitoring Scripting Client?
http://docs.oracle.com/cd/E19226-01/821-1008/index.html

There is a sample script you can follow to see how it works.

There may not be probes specifically for 'http-listener's connection
queue overflows or even when it reaches a certain threshold'. You can
run 'asadmin list-probes' to list all the probes available, and
'list-probes --details name_of_probe' to get more info. I know there
are many that are begin and end events for the containers.

Jennifer

On 2/15/12 9:21 PM, Comerford, Sean wrote:
> We're finally about to turn the keys on V3 in production here at ESPN.
>
> Been doing a bit of reading on the probes that have been added to the
> V3 monitoring framework.
>
> These look really promising.
>
> But I'm a little stuck on how to actually go about creating and
> deploying one that listens for container events.
>
> For example, I want to create a probe to be notified of things like
> when an http-listener's connection queue overflows or even when it
> reaches a certain threshold (i.e. more than X requests are queued).
>
> Can anyone point me in the right direction?
>
> --
> Sean Comerford
> ESPN.com Site Architecture
>>
>