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 » IBM MQ Performance Monitoring » Monitoring Queue Depth

Post new topic  Reply to topic
 Monitoring Queue Depth « View previous topic :: View next topic » 
Author Message
lkathir
PostPosted: Wed Jan 11, 2006 12:35 pm    Post subject: Monitoring Queue Depth Reply with quote

Newbie

Joined: 11 Jan 2006
Posts: 5

Hi,


I am in the process of integrating monitoring solution for MqSeries with HP Openview. I have to monitor the Queue Depth in % for Dead Letter Queue, Transmit Queue and Cluster Transmit Queue - I have the command to run to check the current depth, how/where do I get the Maximum Allowed Depth, so that I can calculate in %?

PS: I am Tools person and dont know anything about MQSeries.

Thanks for any help.
-Kathir
Back to top
View user's profile Send private message
MQGuy2000
PostPosted: Wed Jan 11, 2006 1:15 pm    Post subject: Reply with quote

Centurion

Joined: 20 Jul 2003
Posts: 131

You may have to contact ur MQ Admin for the mqx queue depth.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 11, 2006 1:44 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

contact admin is the official supplier of MQ Monitoring solutions for HPOpenView.

If you really need MQ Monitoring, you should probably look into their Contact Admin solution.

You can get the Max Allowed Queue Depth for a particular queue with
Code:
echo "dis q(<q name>) maxdepth"|runmqsc <qmgr name>)


But the output may need some tweaking with awk or something to be usable from a script.

Note, also, that MAXDEPTH isn't dynamic and doesn't change very often.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
lkathir
PostPosted: Wed Jan 11, 2006 2:13 pm    Post subject: Reply with quote

Newbie

Joined: 11 Jan 2006
Posts: 5

Jefflowrey,

Thanks a lot. This is exactly I was looking for. I used this to get the max and current depth..

echo "display qlocal(qmgrname) [<MAX|CUR>]DEPTH" | su - mqm -c "runmqsc <qmgrname>" | grep QUEUE | awk '{print $2}' | sed 's/[()]/:/g' | awk -F: '{print $2}'

Thanks again.
-Kathir
Back to top
View user's profile Send private message
bschelst
PostPosted: Wed Jan 25, 2006 1:21 pm    Post subject: Reply with quote

Novice

Joined: 30 May 2004
Posts: 16

I'm using the same in our environment.
cheap..and it works like it should be...never failed

It doesn't need to be expensive all the time you know
Back to top
View user's profile Send private message Send e-mail
veturir
PostPosted: Tue Jun 20, 2006 6:57 am    Post subject: Reply with quote

Newbie

Joined: 20 Jan 2006
Posts: 5

lkathir wrote:
Jefflowrey,

Thanks a lot. This is exactly I was looking for. I used this to get the max and current depth..

echo "display qlocal(qmgrname) [<MAX|CUR>]DEPTH" | su - mqm -c "runmqsc <qmgrname>" | grep QUEUE | awk '{print $2}' | sed 's/[()]/:/g' | awk -F: '{print $2}'

Thanks again.
-Kathir

dis is pretty gud, even im lookin for somthing like dis. thanks lkathir.
_________________
veturir
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 » IBM MQ Performance Monitoring » Monitoring Queue Depth
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.