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 » Example of Performance Monitoring

Post new topic  Reply to topic
 Example of Performance Monitoring « View previous topic :: View next topic » 
Author Message
garonne
PostPosted: Wed Aug 09, 2006 5:29 am    Post subject: Example of Performance Monitoring Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

Can anybody give me an example of MQ Performance Monitoring by using PCF in Java?

Thanks alot.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 09, 2006 6:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

Can you be a little more specific as to what you are looking for? What type of performance monitoring? MQ Event messages? Statistics?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
garonne
PostPosted: Wed Aug 09, 2006 6:12 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

wschutz wrote:
Can you be a little more specific as to what you are looking for? What type of performance monitoring? MQ Event messages? Statistics?


Thanks for your attention.
I would like to have a java program to monitor

Event: Queue Depth High
Event: Queue Depth Low
Event: Queue Full
Event: Queue Service Interval

I am a very new to PCF and please tell me if I can use PCF to monitor these events and how I can.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 09, 2006 6:24 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I'd start with MS0B supportpac:

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000668&loc=en_US&cs=utf-8&lang=en
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
garonne
PostPosted: Wed Aug 09, 2006 6:33 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

wschutz wrote:
I'd start with MS0B supportpac:

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24000668&loc=en_US&cs=utf-8&lang=en


I have walked through the document "Programmable System Management" and I have some ideas about PCF (for example I know how to mesure queue depth) and event messages.

But I still can't understand how can I use PCF to monitor event.

Please give me a small java program so I would understand better.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Aug 09, 2006 6:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

I believe there are samples include in ms0b
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Wed Aug 09, 2006 6:37 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Support Pack M001 includes just such a sample.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
garonne
PostPosted: Wed Aug 09, 2006 6:43 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

jefflowrey wrote:
Support Pack M001 includes just such a sample.


I Can not google Support Pack M001 , could you please give a link
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Aug 09, 2006 6:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's on the support pack site.

To be clear it is M-oh-zero-one.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
garonne
PostPosted: Wed Aug 09, 2006 6:49 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

jefflowrey wrote:
It's on the support pack site.

To be clear it is M-oh-zero-one.


I found it, thanks for your help. I will read the example and return later.
Back to top
View user's profile Send private message
garonne
PostPosted: Thu Aug 10, 2006 12:41 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

I have found on Internet a program "mqInquiry". I run it against my sample queue and I have its informations:
Q monitoring event is enabled
Q high depth event Enabled
Q high depth limit 80
Q low depth event Disabled
Q low depth limit 20
Q default persistence = 0
Q maximum depth = 5000
Q current depth = 0

And then I send 100 messages on this sample queue. As the Q high depth event is enabled, I expect an event would be generated by sending a message on SYSTEM.ADMIN.PERFM.EVENT. But when I run the program EventMonitor (in SupportPacs MO01), nothing happen and I look at SYSTEM.ADMIN.PERFM.EVENT, there is no message.

Could you explain this?
Back to top
View user's profile Send private message
markt
PostPosted: Thu Aug 10, 2006 1:32 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

%
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 10, 2006 1:36 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You'll need to put approximately another 3,900 messages before that event will fire.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 10, 2006 1:44 am    Post subject: Reply with quote

Grand High Poobah

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

Or, to expand on the previous postings of my most respected associates, the depth events are a percentage of the queue, not a number. Hence setting the high depth limit to 80 means it will fire when the queue is 80% full i.e. 4000 messages.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
garonne
PostPosted: Thu Aug 10, 2006 4:03 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jan 2006
Posts: 59

Vitor wrote:
Or, to expand on the previous postings of my most respected associates, the depth events are a percentage of the queue, not a number. Hence setting the high depth limit to 80 means it will fire when the queue is 80% full i.e. 4000 messages.


Thanks alot, it works.
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 » Example of Performance Monitoring
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.