Author |
Message
|
tricky_knight |
Posted: Thu Jun 23, 2005 6:21 pm Post subject: queue depth alert |
|
|
Apprentice
Joined: 12 Mar 2005 Posts: 34
|
Does anyone know what to use to incorporate a queue that contstantly reads messages off a queue(MDB) but throws alerts if it ever gets backed up to a certain depth?
thank you |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 23, 2005 7:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Can you be more specific ?
What do you mean with incorporate ???
I'd be going with a monitoring software and just raise the alert if the qdepth is greater than ....
Enjoy  |
|
Back to top |
|
 |
malammik |
Posted: Wed Jun 29, 2005 6:27 am Post subject: |
|
|
 Partisan
Joined: 27 Jan 2005 Posts: 397 Location: Philadelphia, PA
|
This could be conveniently accomplished if jboss is your app server where for every mdb you can define generic interceptors that would check depth or preformat the message a certain way. Overall, this is not a good approach. You should have a separate app monitoring queue depths, enqueue/dequeue rates, etc. _________________ Mikhail Malamud
http://www.netflexity.com
http://groups.google.com/group/qflex |
|
Back to top |
|
 |
colincrist |
Posted: Mon Jul 04, 2005 5:55 am Post subject: |
|
|
Novice
Joined: 24 Feb 2004 Posts: 22
|
|
Back to top |
|
 |
tricky_knight |
Posted: Tue Jul 26, 2005 11:26 am Post subject: |
|
|
Apprentice
Joined: 12 Mar 2005 Posts: 34
|
im using was51. with mq 5.3
I understand how to write a java pgm to get the queuedepths, and I do not have the option of purchasing 3rd party software to monitor unfortunately.
I was thinking of just using a cron job to get the queuedepths. If the queuedepth is higher than X, I would like to use javaMail to send myself an email.
does this sound okay, or do you guys think I can accomlish this in a better way?
In windows, if i look at the MQ explorer in see a tab for events then a high depth..is there some way to have it work like a trigger monitor so it can call a program if the queue gets over 2000?
thanks |
|
Back to top |
|
 |
JohnRodey |
Posted: Tue Jul 26, 2005 11:34 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
Using Performance Events might help you out. Have an app monitor the system.admin.perfm.event for a queue depth high event then send you a mail or however you want to notify yourself.
You can also use triggering so that you don't have to have that process listen to the perfm.event queue, it will just be kicked off whenever that event is thrown.
Hopefully this is of some help. |
|
Back to top |
|
 |
tricky_knight |
Posted: Tue Jul 26, 2005 12:00 pm Post subject: |
|
|
Apprentice
Joined: 12 Mar 2005 Posts: 34
|
thanks alot John,
what manual has more information on using this ? |
|
Back to top |
|
 |
JohnRodey |
Posted: Wed Jul 27, 2005 4:31 am Post subject: |
|
|
 Centurion
Joined: 13 Apr 2005 Posts: 103
|
The Monitoring WebSphere MQ manual talks about performance events.
The Application Programming Guide discusses Triggering.
There may be more manuals that look into these topics. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Jul 27, 2005 4:35 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
MO71 Supportpac may be an option too, because it can read event messages and react on it _________________ Regards, Butcher |
|
Back to top |
|
 |
|