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 » MQ Omegamon Situation for Put time or Put Rate

Post new topic  Reply to topic
 MQ Omegamon Situation for Put time or Put Rate « View previous topic :: View next topic » 
Author Message
Jegadeeshwaran
PostPosted: Thu Apr 11, 2013 3:18 am    Post subject: MQ Omegamon Situation for Put time or Put Rate Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 5

Hi ,
I am new to MQ & Omegamon, I need to setup a omegamon situation which should monitor a queue and generate an alert if there is no message put on that queue for given period of time ( for example 2 minutes).

Any help on this formula would be great.

Thank you.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Apr 11, 2013 4:01 am    Post subject: Reply with quote

Poobah

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

Have you searched here or google for 'omegamon monitoring queue depth'? Then what happened?
_________________
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
Jegadeeshwaran
PostPosted: Thu Apr 11, 2013 4:06 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 5

bruce2359 wrote:
Have you searched here or google for 'omegamon monitoring queue depth'? Then what happened?[


Hi Thanks for the reply. Sorry I have not given enough detail in my question. Messages won't stay in that queue. An application get the message as when it arrives. So I can't rely on queue depth in my situation.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Apr 11, 2013 4:11 am    Post subject: Reply with quote

Poobah

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

I'm asking you what research and testing you have done prior to posting here?
_________________
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
nathanw
PostPosted: Thu Apr 11, 2013 4:14 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

The last put time is stored on the queue therefore even if the message is read straightaway it will have a time associated with it.

So the answer is out there
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
Jegadeeshwaran
PostPosted: Fri Apr 12, 2013 4:58 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 5

Hi Nathanw,

Yes, I tried but I am not sure how to use it in situation formula to compare against current time?

For example, My sample interval time is 2 minutes,
say the last put time 10:00am , at 10:01am the situation should not generate alert but at 10:03am it should alert as there is no messages put for the past 3 minutes.

I've noticed that I can use Msgs Put/Msgs Get but for some reason, they always return zero even if I enable Queue Statistics in agents.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Apr 12, 2013 5:36 am    Post subject: Reply with quote

Poobah

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

Jegadeeshwaran wrote:
I've noticed that I can use Msgs Put/Msgs Get but for some reason, they always return zero even if I enable Queue Statistics in agents.

How did you notice? What is 'they' that gives you return code zero?

Please be precise in your posts.
_________________
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
Jegadeeshwaran
PostPosted: Fri Apr 12, 2013 5:44 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 5

"Msgs Put" Queue Statistics attribute always return value as zero instead of actual count of the messages put in that queue during sampling interval.

I see these values in Omegamon Queue Statistics View.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Apr 12, 2013 5:55 am    Post subject: Reply with quote

Poobah

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

Jegadeeshwaran wrote:
I see these values in Omegamon Queue Statistics View.

Do you see the same results when you use the equivalent MQSC DISPLAY command?
_________________
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
Jegadeeshwaran
PostPosted: Fri Apr 12, 2013 6:56 am    Post subject: Reply with quote

Newbie

Joined: 20 Mar 2013
Posts: 5

Hi,

What is the equivalent display command to view queue statistics attributes?

DISPLAY QSTATUS() - Shows Last put time & Get time, but it does not show other attributes ( Msgs Read, Msgs Put, Put Rate, Get Rate) listed in Omegamon statistics view.
Back to top
View user's profile Send private message
colbype
PostPosted: Sun Jun 16, 2013 6:15 pm    Post subject: Solution Reply with quote

Novice

Joined: 13 Jan 2009
Posts: 23

Jegadeeshwaran,

You have to turn on Queue Monitoring via MQ ( like Explorer) before Omegamon can pick up the attributes. Once you do that you will notice if you look at Queue Statistics it will show the last put and get time.

here is a formula to get what you want. For Local Time you use the Delta which allows + or - compare with Queue Name.

( TIME(Last Put Date & Time) < '#'Local_Time.Timestamp' - 3H' AND Queue Name == PMC.PKMS.contact admin.MANUAL.TRIGGER.LOCAL)

Good luck
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 » MQ Omegamon Situation for Put time or Put Rate
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.