ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Monitoring of MQ msgs thru queues for a period of time

Post new topic  Reply to topic
 Monitoring of MQ msgs thru queues for a period of time « View previous topic :: View next topic » 
Author Message
chris boehnke
PostPosted: Thu Jul 10, 2008 7:21 am    Post subject: Monitoring of MQ msgs thru queues for a period of time Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

Hi Guys,
I am wondering whether we have any kind of setting or tracing to view how many msgs have gone thru a particular queue for a period of time(lets say for 1 hour). This will help us in better keep track of the msgs in performance testing.

Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 10, 2008 2:03 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

The history/report set up on most of the standard monitoring products on the market should give that information.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
chris boehnke
PostPosted: Thu Jul 10, 2008 2:36 pm    Post subject: Reply with quote

Partisan

Joined: 25 Jul 2006
Posts: 369

fjb_saper wrote:
The history/report set up on most of the standard monitoring products on the market should give that information.


Hi FJ,
right now we dont have any monitoring tool but in the future we will get one(not sure which one). I am wondering whether we have any MQ configuration/setup to get the number of msgs gone thru a particular queue for a period of time?.

Thanks.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Jul 10, 2008 5:54 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

I think the easiest and fastest way to this if you don't already have a commercial MQ monitoring tool is to:

A. Make sure Perfromance Events are turned on at the QM level
B. Connect to the QM with your MO71 Support Pack
C. Right click on the QM and select "Queue Statistics"
d. Type in your q name and click refresh as often as you need to (or tell MO71 to automatically refresh every x seconds).
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
dkeister
PostPosted: Fri Jul 11, 2008 9:37 am    Post subject: Reply with quote

Disciple

Joined: 25 Mar 2002
Posts: 184
Location: Purchase, New York

Not sure this will do what you are looking for, but MQExerciser will sample and record queue depths at an interval you set (e.g. 1 second, 1 minute, etc.). This can be displayed graphically and optionally put into a log to see the changes in queue depth between the sampling interval.

For example:
- at interval 1 the queue depth is 10.
- Between interval 1 and 2 two messages are enqueued.
At interval 2 the log shows Old = 10, New = 12.

- Between interval 2 and 3 five messages are dequeued.
At interval 3 the log shows Old = 12, New = 7.

- Between interval 3 and 4 six messages are enqueued and six messages are dequeued.
At interval 4 the log shows no change since Old = 7 and New = 7.

- Between interval 4 and 5 ten messages are enqueued and 8 messages are dequeued.
At interval 5 the log shows Old = 7, New = 9

From the above example you can only see the delta:

Interval 2 - Delta Messages = 2, Actual messages = 2
Interval 3 - Delta Messages = -5, Actual messages = 5
Interval 4 - Delta Messages = 0, Actual messages = 12
Interval 5 - Delta Messages = 2, Actual messages = 18

So, the smaller the interval in relation to the enqueue/dequeue rate, the more accurate it will be. However, if messages are being enqueued and dequeued, this will never give you a guaranteed count of message traffic.
_________________
Dean Keister
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nageshshiv
PostPosted: Tue Jul 15, 2008 3:05 am    Post subject: Reply with quote

Apprentice

Joined: 09 May 2008
Posts: 30

Hi chris ,

If you don't have any monitoring tool , One option to track the messages is you need to keep the dedicated channels for REMOTE QUEUE -- SDR Chl

Local Queue --- > RCVR Chl

Once you have dedicated channels ..

Pls run command in runmqsc "dis chs(sdr-channel) all* . in the output a field called "MESSAGE( COUNT) " will give number of messages sent.

dis chs(rcvr-channel) all* , Will give number of message received .

Regards,
Nagesh
Back to top
View user's profile Send private message
irony
PostPosted: Fri Jul 18, 2008 11:22 am    Post subject: Re: Monitoring of MQ msgs thru queues for a period of time Reply with quote

Apprentice

Joined: 18 Nov 2005
Posts: 35
Location: US

hope you are using MQ6; in which case, you can turn 'ON' the queue statistics. And you can issue reset qmgr type(statistics) before & after a particular time interval.

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzax.doc/monmsgs.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Monitoring of MQ msgs thru queues for a period of time
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.