Author |
Message
|
sangminli |
Posted: Mon Jun 13, 2011 11:33 pm Post subject: how can I monitor the number of msgs travel though my qmgr |
|
|
 Voyager
Joined: 26 Aug 2008 Posts: 75 Location: Hangzhou, China
|
I'd like to get a record of every msg(its size, for example), and also the number of msgs that come in and the number of msgs that go out from this qmgr, how can I do that?
Can I use channel exit? Or do we have any tools available out there that I can use?
Thanks!
I know we can do this from the application's perspective, but if I am just an MQ admin, how can I get it? |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 12:01 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
I believe there a number of Third-party offerings that will do want you want but the question is, what is it about the activity in 'this' queue manager that has you concerned? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 12:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
This can be done using the various QMGR statistics options and the easiest way to view them is using support pac MS0P.
For example enable MQISTAT for the queue manager, then use explorer with MS0P to view the message stats for a given interval.
Long ago, the only way was 3rd party tools - but WMQ v6 added plenty of stats and accounting features.
However in classic IBM fashion - these features were effectively unusable without writing your own analysis/display programs.
Now with MS0P (IBM - please make this standard!) it is at last user-friendly (thanks to Mark E Taylor of Hursley). |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 4:09 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
This can be done using the various QMGR statistics options and the easiest way to view them is using support pac MS0P. |
I live and learn  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jun 14, 2011 4:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
I live and learn  |
IMHO it's still valid to ask why the OP needs to collect this information. It's often one of those "audit" requirements project managers come up with.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 5:23 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
I might add that support pac MS0P is one of those gems that everyone should look at.
It can format event messages as well as stats and accounting messages and turn those obscure MQ features into something viewable by humans.
Now you can turn on (selectively) various event or stats or accounting options and find out what's really going on inside your QM.
I have added Mark E Taylor to my personal hall of MQ fame for this.
http://www-01.ibm.com/support/docview.wss?rs=171&uid=swg24011617&loc=en_US&cs=utf-8&lang=en&wv=1
The description on the support pac doesn't really do this justice. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 5:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Of course it's only useful within an organisation that allows the use of MQExplorer to manage queue manager infrastructure  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 5:46 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Maybe you could route the event/stats etc messages to a qm on your desktop?
Do they have telephones there, or just use Morse code?
You could try support pac MH04 or MH05 instead. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 5:50 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
Maybe you could route the event/stats etc messages to a qm on your desktop?
Do they have telephones there, or just use Morse code?  |
Nice idea but Tivoli tends to have a dummy spit when that's done
And the bunch I'm working for aren't using anything as sophisticated as Morse code and communications really go to hell when the sun goes in or the heliograph mirrors crack... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 11:24 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Not sure why Tivoli would want to consume the statistics messages.
You could try (browse) offloading them with qload, and then qload them back on your own QM for analysing. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 11:28 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
Not sure why Tivoli would want to consume the statistics messages. |
ITM6 - it's not just a monitoring/admin tool...
zpat wrote: |
You could try (browse) offloading them with qload, and then qload them back on your own QM for analysing. |
We could if we could disable Tivoli  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 11:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
If it wants to consume them, presumably you can then use the ITM6 tool to see the information you want?
MS0P is for those who can't afford Tivoli or other deluxe products. |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 11:32 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
If it wants to consume them, presumably you can then use the ITM6 tool to see the information you want? |
Yes.
zpat wrote: |
MS0P is for those who can't afford Tivoli or other deluxe products. |
My previous statement regarding MQExplorer still applies. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 12:26 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
As I mentioned, MH04 and MH05 are available for the dinosaurs...  |
|
Back to top |
|
 |
exerk |
Posted: Tue Jun 14, 2011 12:30 pm Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
zpat wrote: |
As I mentioned, MH04 and MH05 are available for the dinosaurs...  |
I missed that! Old age and decrepitude affecting my sight!  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|