Author |
Message
|
Rongvang |
Posted: Mon Jun 16, 2008 5:33 am Post subject: How to monitoring the incoming and outgoing message |
|
|
Newbie
Joined: 15 Jun 2008 Posts: 2
|
Hi all,
somebody can help me the following:
Is there a log where i can see the timestamp of the incoming and outgoing messages? or can i use commandline to display that?
Thanks. |
|
Back to top |
|
 |
dgolding |
Posted: Mon Jun 16, 2008 5:51 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Messages are not logged as such, using "standard" MQM - you could rebuild your queue manager to use linear logging, and then use dmpmqlog to dump GETs and PUTs (it only works when the queue manager is down I seem to remember) - but it's a lot of effort - or you could write or buy a message exit. Transaction Vision did this - I can't remember who owns the product now, or even if it's still called that.
Most monitoring systems graph the depth of the queue so you can see when a message has been put on or taken off - but not usually the contents of the message itself
Last edited by dgolding on Mon Jun 16, 2008 7:01 am; edited 1 time in total |
|
Back to top |
|
 |
jsware |
Posted: Mon Jun 16, 2008 6:06 am Post subject: |
|
|
 Chevalier
Joined: 17 May 2001 Posts: 455
|
Supportpac ma0w (MQ API Trace) may give you what you need. It can log all MQI calls (MQGET/MQPUT etc). See http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24010343
There would be a performance cost implication of logging the put/get details of every message. _________________ Regards
John
The pain of low quaility far outlasts the joy of low price. |
|
Back to top |
|
 |
Rongvang |
Posted: Tue Jun 17, 2008 4:14 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2008 Posts: 2
|
thnx guys..
I only want to know the timestamp of every incoming/outgoing message, thus not the contains of the message itself.
is there a commandline to do that or other tool? |
|
Back to top |
|
 |
dgolding |
Posted: Tue Jun 17, 2008 11:29 pm Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
As far as I remember the annoying thing about dmpmqlog is that it DOESN'T show timestamps - so that would make it useless anyway, regardless of the inconvenience of using it only when the queue manager is down.
So looks like your only choice is to use some sort of msg exit - beg borrowed or stolen and as scottj2512 points out there will be a performance overhead |
|
Back to top |
|
 |
Cressida |
Posted: Wed Jun 18, 2008 8:53 am Post subject: |
|
|
Disciple
Joined: 13 Jul 2007 Posts: 157
|
|
Back to top |
|
 |
|