jmx alerts

View: New views
2 Messages — Rating Filter:   Alert me  

jmx alerts

by REV Tamas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: jmx alerts

by REV Tamas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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