The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » GlassFish

Thread: jmx alerts

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Nov 3, 2009 5:40 AM by: REV Tamas Threads: [ Previous | Next ]
REV Tamas
jmx alerts
Posted: Nov 2, 2009 6:20 AM
  Click to reply to this thread Reply
Attachment att1.html (620 bytes)

Hi,

On a GlassFishESB v2.1 production server we'd like to receive some kind of
alerts every time a SEVERE or WARNING-level
log is issued. We checked the "Alarm" on Logger setting page, but couldn't
catch any alarm with jconsole.

Can you please tell us, how to catch them with *any* custom program?

The fallback mechanism would be writing a custom log handler that would use
the default log handler and would
generate these alarms for every warning. But that's a hackers solution, I
don't want to use that unless the other way fails.

Regards,
Tamas
[att1.html]


REV Tamas
Re: jmx alerts
Posted: Nov 3, 2009 5:40 AM   in response to: REV Tamas
  Click to reply to this thread Reply
Attachment att1.html (1.1 K)

Hi,

I finally fond it on Jconsole. It's rather a JMX notification than an alarm,
and you can subscribe
to it on jconsole/amx/X-Logging.

Regards,
Tamas

On Mon, Nov 2, 2009 at 3:20 PM, REV Tamas <tamas.rev@gmail.com> wrote:

> Hi,
>
> On a GlassFishESB v2.1 production server we'd like to receive some kind of
> alerts every time a SEVERE or WARNING-level
> log is issued. We checked the "Alarm" on Logger setting page, but couldn't
> catch any alarm with jconsole.
>
> Can you please tell us, how to catch them with *any* custom program?
>
> The fallback mechanism would be writing a custom log handler that would use
> the default log handler and would
> generate these alarms for every warning. But that's a hackers solution, I
> don't want to use that unless the other way fails.
>
> Regards,
> Tamas
>
[att1.html]





 XML java.net RSS