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 » MQRC_Q_DEPTH_HIGH reported on first msg, QDEPTHHI(8)

Post new topic  Reply to topic
 MQRC_Q_DEPTH_HIGH reported on first msg, QDEPTHHI(8) « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Sat Feb 08, 2014 3:55 am    Post subject: MQRC_Q_DEPTH_HIGH reported on first msg, QDEPTHHI(8) Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hi - I am using mq 7.5.0.1 under windows.
Want to receive an event when a queue reaches a threshold of 8 messages. "low" threshold is set to 2.

So I configured

Code:
     1 :  DISPLAY QL(QL1)
AMQ8409: Display Queue details.
   QUEUE(QL1)                              TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2014-02-08)
   CRTIME(10.45.33)                        CURDEPTH(0)
   MAXDEPTH(23)                            MAXMSGL(4194304)
   MONQ(QMGR)                              MSGDLVSQ(PRIORITY)
   QDEPTHHI(8)                             QDEPTHLO(2)
   QDPHIEV(ENABLED)                        QDPLOEV(DISABLED)
   QDPMAXEV(ENABLED)                       QSVCIEV(NONE)


My event monitor is the code from
MQ_v7_Monitoring MQ_csqzax06.pdf, SC34-6937-00, page 151 [163/387].

I verify the queue is empty, and I start putting messages into the queue. After 2 messages, the SYSTEM.ADMIN.PERFM.EVENT queue receives a message like this:

Code:
Performance event:
CompCode(WARNING)
Reason = [MQRC_Q_DEPTH_HIGH].
Parameter count is [6].
{MQCA_Q_MGR_NAME} [SMQ
{MQCA_BASE_Q_NAME} [QL1
Print FMQCF Integer, parameter is [35, 0x23].
MQIA_TIME_SINCE_RESET [12]. (X'C').
Print FMQCF Integer, parameter is [36, 0x24].
MQIA_HIGH_Q_DEPTH [2]. (X'2').
Print FMQCF Integer, parameter is [37, 0x25].
MQIA_MSG_ENQ_COUNT [2]. (X'2').
Print FMQCF Integer, parameter is [38, 0x26].
MQIA_MSG_DEQ_COUNT [0]. (X'0').


The queue values are OK:

Code:
     1 :  DISPLAY QL(QL1) CURDEPTH
AMQ8409: Display Queue details.
   QUEUE(QL1)                              TYPE(QLOCAL)
   CURDEPTH(2)
One MQSC command read.

     1 :  DISPLAY QL(QL1) QDEPTHHI
AMQ8409: Display Queue details.
   QUEUE(QL1)                              TYPE(QLOCAL)
   QDEPTHHI(8)


My question is :
why am I receiving the event on queue depth = 2
when I requested to get it on depth = 8 ?

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sat Feb 08, 2014 6:41 am    Post subject: Reply with quote

Grand High Poobah

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

Because you requested it that way.
I believe qdepth low and high are given in % of max q depth
So 8% of 24 is 1.92 and thus at 2 you get a high depth event.

And I'm sure just about now you're saying Doh!!!

Working as designed.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Sat Feb 08, 2014 7:45 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks a lot, mr Saper.
I don't get what "now you're saying Doh" means, because english is my 3rd language, but now I catch the meaning.

I missed the last line when reading ...

Code:
QDEPTHHI(integer) The threshold against which the queue depth is compared to generate a Queue Depth High event. This parameter is supported only on local and model queues. For more information about the effect that shared queues on z/OS have on this event, see the Monitoring WebSphere MQ book. This event indicates that an application has put a message on a queue, and this has caused the number of messages on the queue to become greater than or equal to the queue depth high threshold. See the QDPHIEV parameter.
>>>
The value is expressed as a percentage of the maximum queue depth (MAXDEPTH parameter), and must be greater than or equal to zero, and less than or equal to 100.


I LOVE THIS FORUM !!!

Sebastian.
Back to top
View user's profile Send private message Visit poster's website
bruce2359
PostPosted: Sat Feb 08, 2014 7:50 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9399
Location: US: west coast, almost. Otherwise, enroute.

"Doh!" is from "The Simpsons" cartoon tv show here in the US. "Doh!" is Homer Simpson's simple declarative; alternatives of which would be considered crude and offensive. Merde, if you speak French; mierda, Spanish, come to mind as alternatives.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
sebastia
PostPosted: Sat Feb 08, 2014 8:11 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, Bruce. No way to understand that from Spain, even we've been watching Simpson's for 20 years, hehehe

Thanks, mr Saper for the "%" detail and your patience ...
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Sat Feb 08, 2014 8:36 pm    Post subject: Reply with quote

Grand High Poobah

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

sebastia wrote:
Thanks, Bruce. No way to understand that from Spain, even we've been watching Simpson's for 20 years, hehehe

Thanks, mr Saper for the "%" detail and your patience ...


De nada Señor Sebastia.
No se preocupe, le entiendo buen, porqué Castillano es mi quartero idioma
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Sun Feb 09, 2014 1:59 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

()
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » MQRC_Q_DEPTH_HIGH reported on first msg, QDEPTHHI(8)
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.