Hi,
The probes are documented in section 5GFP
<
http://docs.oracle.com/cd/E18930_01/html/821-2433/gentextid-33194.html#scrolltoc>
of the Oracle GlassFish Server Reference Manual.
Regards,
-Paul Davies
On 2/16/2012 9:25 AM, Comerford, Sean wrote:
> Ahh, I did not realize that.
>
> I knew the dtrace stuff was commercial edition but didn't realize
> probes too.
>
> We're currently evaluating buying Oracle support / using commercial
> version so that's good to know.
>
> Can someone send me the output of the list-probes command (or point me
> to doc) so I can see what's available?
>
> --
> Sean Comerford
> ESPN.com Site Architecture
>
> From: Paul Davies <paul.m.davies_at_oracle.com
> <mailto:paul.m.davies_at_oracle.com>>
> Reply-To: "users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>"
> <users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>>
> Date: Thu, 16 Feb 2012 12:17:19 -0500
> To: "users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>"
> <users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>>
> Subject: Re: Writing probes for Glassfish container events
>
> Hi,
>
> Are you using Oracle GlassFish Server or GlassFish Server Open Source
> Edition?
>
> The list-probes subcommand and the monitoring scripting client are
> available only in Oracle GlassFish Server, not GlassFish Server Open
> Source Edition.
>
> Regards,
> -Paul Davies
>
> On 2/16/2012 9:11 AM, Comerford, Sean wrote:
>> When I run list-probes in asadmin to see what's available I get this:
>>
>> /asadmin> list-probes/
>> /Command list-probes not found. /
>> /Check the entry of command name. This command may be provided by a
>> package that is not installed./
>> /Closest matching local and remote command(s): /
>> / list-nodes/
>> /Command list-probes executed successfully./
>>
>> I'm using v3.1.1 if that matters.
>>
>> --
>> Sean Comerford
>> ESPN.com Site Architecture
>>
>> From: Jennifer Galloway <jennifer.chou_at_oracle.com
>> <mailto:jennifer.chou_at_oracle.com>>
>> Date: Wed, 15 Feb 2012 23:07:12 -0500
>> To: Sean Comerford <Sean.Comerford_at_espn.com
>> <mailto:Sean.Comerford_at_espn.com>>
>> Cc: "users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>"
>> <users_at_glassfish.java.net <mailto:users_at_glassfish.java.net>>
>> Subject: Re: Writing probes for Glassfish container events
>>
>> 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
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------
>> Please consider the environment before printing this e-mail.