Author |
Message
|
welcomemq |
Posted: Fri May 11, 2012 6:31 am Post subject: MQ Message alert if pending in some Queue |
|
|
Newbie
Joined: 11 May 2012 Posts: 1
|
I want to get an alert, if the messages in some queue are pending from a long time. I am using MQ with WTX....If sometimes the WTX systemis not responding the messages will remain in the queue...so I need to get an alert if messages are pending there...Need ur expert advises how to make this possible |
|
Back to top |
|
 |
Vitor |
Posted: Fri May 11, 2012 7:25 am Post subject: Re: MQ Message alert if pending in some Queue |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
welcomemq wrote: |
Need ur expert advises how to make this possible |
Set the message to expire, and set for a report on expiration _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun May 13, 2012 5:57 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Set your monitoring alert on queue depth >0 and oldest message age...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sun May 13, 2012 4:33 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The (q depth > 0) part is probably not needed.... _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun May 13, 2012 7:55 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
PeterPotkay wrote: |
The (q depth > 0) part is probably not needed.... |
Agreed but it helps keeping the false positives from triggering if your processing time may get >= to your message age threshold.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|