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 Java / JMS » amqsmon + MQCA_REMOTE_Q_NAME

Post new topic  Reply to topic
 amqsmon + MQCA_REMOTE_Q_NAME « View previous topic :: View next topic » 
Author Message
xtreme_machine
PostPosted: Fri Dec 07, 2007 1:21 am    Post subject: amqsmon + MQCA_REMOTE_Q_NAME Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi Guys,

We are on MQ6.0.0.0 on Windows. I am getting the required output but want to incorporate remote queue name in the output details, for a remote queue which is audited. In no way, iam, able to get the rname in the output
the following site also gives the code to be used
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzax.doc/monmsgs.htm & its 2018. But I am not able to display -- here's my output

amqsmon -m XXXX-t statistics -q YYYYY -b -s "2007-12-07 09.00.00" -e "2007-12-07 15.20.00" -l 722,2017,2067,7006,2015,2018

MonitoringType: QueueStatistics
QueueManager: 'XXXX'
QueueStatistics: 0
GetCount: [0, 0]

MonitoringType: QueueStatistics
QueueManager: 'XXXX'
QueueStatistics: 0
GetCount: [0, 0]

MonitoringType: QueueStatistics
QueueManager: 'XXXX'
QueueStatistics: 0
GetCount: [0, 0]

3 Records Processed.

Also please could some body highlight whats the difference between statistics & accounting of queue and whats the effect of
reset qmgr type(statistics) on them

thanks a ton

XM
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Sun Dec 09, 2007 6:49 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi Jeff, MQ guru's,

please shed some light !!

thx
XM
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Sun Dec 09, 2007 11:42 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Quote:
Collecting queue statistics information
Queue statistics information collection can be enabled or disabled for individual queues, or for multiple queues. To control individual queues, the queue attribute STATQ must be set to enable or disable queue statistic information collection.


do you see STATQ on a QREMOTE?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
xtreme_machine
PostPosted: Sun Dec 09, 2007 11:58 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi,

No, but I have enabled monitoring in Queue manager level. Also I am getting the exact put count on the remote queue.


thx
XM
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Dec 10, 2007 11:32 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Would you please bring your QMGR up to the current maintenance of 6.0.2.2?

And try it again. I don't know if it will fix it but it might and you will be ask to do this.
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
xtreme_machine
PostPosted: Tue Dec 11, 2007 5:47 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

No luck, as yet buddy !!!
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Dec 13, 2007 5:11 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

To get Accounting or Statistics Messages you have to tell the queue to collect this info via the ACCTQ or STATQ attribute. Those 2 attributes are not available for Remote Queue defs, so you can't get this info for Remote Q Defs. It doesn't matter that you have it turned on at the QM level. All that does is allow this info to be captured for queues that have QMGR as the value for ACCTQ or STATQ, and Remote Q defs don't have that attribute to begin with.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Thu Dec 13, 2007 11:56 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi Peter,

thanks for your advise
I also tried to view the reply-to-qmgr details, but couldnt. could you please advise.

thanks
XM
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 14, 2007 10:29 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

XM,
I don't know what you are asking. There are no details for "reply-to-qmgr". Its a field in the MQMD header of a message. After an MQPUT(1) or MQGET just query what's in that field however your programming language dictates it.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
KramJ
PostPosted: Fri Dec 14, 2007 11:27 am    Post subject: Reply with quote

Voyager

Joined: 09 Jan 2006
Posts: 80
Location: Atlanta

About the best that you can do is turn on STATQ on the transmission queue that your remote queue is using. Of course you'll capture statistics for all of the queues using that transmission queue.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Dec 14, 2007 1:12 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Never uderstood why IBM built in this restriction.

If its valuable to know how many puts and gets happen on a local queue its just as valuable to know how many happen on a Remote Q def. Or thru an Alias queue.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Dec 14, 2007 1:37 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

PeterPotkay wrote:
If its valuable to know how many puts and gets happen on a local queue its just as valuable to know how many happen on a Remote Q def. Or thru an Alias queue.


Maybe the name resolution code doesn't write any audit records of how often it's called, or on what...

And maybe it's very difficult to cause it to do that, pending a requirement to do so.... raised, of course, through the normal processes...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Mon Dec 17, 2007 9:08 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

XM,
I don't know what you are asking. There are no details for "reply-to-qmgr". Its a field in the MQMD header of a message. After an MQPUT(1) or MQGET just query what's in that field however your programming language dictates it.


Hi Peter,
My requirement is to know from which QM, the message is coming, i.e in a way, i want to segregate how many puts QM wise, as in our appln desing scneraio, ours is a HUB QM, and many QM's are connected to it and sending message to it. I am very novice in programming, also i dont know, how will each and every message can be queried for sought details
In the monitoring manual, the correspondiong code is given to get the details which are sought, but its not taking.

thanks
XM
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 18, 2007 1:26 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

xtreme_machine wrote:
My requirement is to know from which QM, the message is coming,


As Peter says, these details are stored in the MQMD of the individual messages in the reply-to queue manager field. AFAIK (and it's not something I've had much occassion to use so a pinch of salt please) the monitoring will tell you how many messages arrive and how fast they're processed by the local queue manager but not where they're coming from (because from the local perspective they just pile up in the local queue).

Is your requirement just accounting / billing? Charging, perhaps internally, the users of your hub machine? If it's messages sent by a given machine only, rather than content, have you considered monitoring channel statisics?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
xtreme_machine
PostPosted: Tue Dec 18, 2007 6:05 pm    Post subject: Reply with quote

Novice

Joined: 17 Sep 2007
Posts: 23

Hi Vitor,

thanks for your advise. We will certainly ponder on your advise about channel statistics.


thanks
XM
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 Java / JMS » amqsmon + MQCA_REMOTE_Q_NAME
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.