Author |
Message
|
jhaavinash |
Posted: Mon Mar 03, 2008 12:48 am Post subject: Urgent help needed |
|
|
Novice
Joined: 17 Dec 2004 Posts: 15 Location: Sweden
|
Hello All,
I have 2 queue managers each consisting around 50 queue each. There are a lot of applications using them. I want to know the total number of messages processed by each queue manager at the end of the day, and also the total size of each message added together.
Please let me know if you have any solution to this....
Cheers!
Avi _________________ contact admin Jha
WebSphere MQ grp |
|
Back to top |
|
 |
Gaya3 |
Posted: Mon Mar 03, 2008 12:59 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Buy some monitoring tools to do the same.
Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
jhaavinash |
Posted: Mon Mar 03, 2008 3:47 am Post subject: hi |
|
|
Novice
Joined: 17 Dec 2004 Posts: 15 Location: Sweden
|
Hello Gayathri,
Thanks for your reply, but I am looking for a solution using built in MQ functionality. There is one way that I can think of, and that is writing a trigger so that before any message is processed, it is written in a text file. Then its not that hard to measure the number and size.
I was wondering if someone has implemented a solution like this (or different), using MQ in-built functions.
Thanks in advance for your reply.
br,
Avi _________________ contact admin Jha
WebSphere MQ grp |
|
Back to top |
|
 |
zpat |
Posted: Mon Mar 03, 2008 3:50 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
There are QUEUE STATS with MQ V6 which should provide what you need, otherwise use one of the MQ exits to collect the information. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Mar 03, 2008 4:09 am Post subject: Re: hi |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
contact admin wrote: |
There is one way that I can think of, and that is writing a trigger so that before any message is processed, it is written in a text file. |
Triggering fires after a message is delivered to a queue. What you're describing is exit programming and that's not for the inexperienced or the faint of heart. If it works, you need to think carefully about the additional processing you're adding to each and every message; this can quickly pile up to be a significant drain on throughput with only a little carelessness.
If it doesn't work it will bring your queue manager to it's knees quickly, in the worst case scenario it will reduce your queue manager to a small smouldering heap of fragments. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 03, 2008 6:01 am Post subject: Re: hi |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
contact admin wrote: |
I am looking for a solution using built in MQ functionality. |
There is no built-in solution for assembling this information.
All of the monitoring tools use built-in functionality that generates information, and then assemble it themselves.
Use a monitoring tool! Don't bother writing your own.
Really! _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jhaavinash |
Posted: Mon Mar 03, 2008 7:55 am Post subject: hi |
|
|
Novice
Joined: 17 Dec 2004 Posts: 15 Location: Sweden
|
Ok. Then guess we need to consider a monitoring tool.
Thanks a lot for your replies....
br,
Avi _________________ contact admin Jha
WebSphere MQ grp |
|
Back to top |
|
 |
zpat |
Posted: Mon Mar 03, 2008 11:22 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Have you read my reply? Have you looked at the queue statistics available with WMQ V6? Have you read the IBM manuals? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 04, 2008 4:09 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Moved to monitoring forum  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jhaavinash |
Posted: Tue Mar 04, 2008 11:30 pm Post subject: Hi |
|
|
Novice
Joined: 17 Dec 2004 Posts: 15 Location: Sweden
|
Hello zpat,
Yes I did. But we just have MQ v5.3 and so it wont work.
Thanks for your suggestion.
br,
Avi _________________ contact admin Jha
WebSphere MQ grp |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Mar 05, 2008 3:22 am Post subject: Re: Hi |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
contact admin wrote: |
Hello zpat,
Yes I did. But we just have MQ v5.3 and so it wont work.
Thanks for your suggestion.
br,
Avi |
MQ V 5.3 is out of support -- you need to upgrade!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jhaavinash |
Posted: Fri Mar 07, 2008 2:54 am Post subject: hello |
|
|
Novice
Joined: 17 Dec 2004 Posts: 15 Location: Sweden
|
Yes thats right..we have plans to upgrade soon  _________________ contact admin Jha
WebSphere MQ grp |
|
Back to top |
|
 |
zpat |
Posted: Fri Mar 07, 2008 2:58 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Probably easier & cheaper to upgrade than to develop an alternate solution.
IBM add these new features into the product because customers need them (as you are demonstrating!). |
|
Back to top |
|
 |
|