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 » General Discussion » How to moniter a queue manager

Post new topic  Reply to topic Goto page 1, 2  Next
 How to moniter a queue manager « View previous topic :: View next topic » 
Author Message
ankurlodhi
PostPosted: Tue Mar 20, 2012 8:04 am    Post subject: How to moniter a queue manager Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

Hi I need to write a script to monitor all the queue managers in our mq environment which is a distributed.

I have the idea of monitering it with the trace but is there any other way through which we can check the avilability of the queue manager and when ever there is a problem with the queue manager we can get an idea of the problem.

i am sure there is some but i just need some guidence and advise for what will be a better approach. as I can't use any third party tool for this.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 20, 2012 8:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Monitoring it with trace?

You mean enabling tracing using strmqtrc?

Don't do that. It's a terrible idea.

Read the info center on Monitoring and Performance.

Then you will have a better idea of how deep a hole you're in, and you can revisit your notion of not using any 3rd party tools.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Tue Mar 20, 2012 8:24 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

i have read about MQ events at infocenter
while seaching on the web i came accross this document.

http://share.confex.com/share/116/webprogram/Session8720.html
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue Mar 20, 2012 8:31 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

There are monitoring tools where you work, things that monitor a server's CPU, or a website's availability. Go talk to the people that manage those monitoring tools your company already owns and ask them to show you what options they have for monitoring MQ. Most robust monitoring solutions deployed in Enterprises today come with MQ monitoring.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 20, 2012 8:42 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
Don't do that. It's a terrible idea.




mqjeff wrote:
Read the info center on Monitoring and Performance.




ankurlodhi wrote:
I can't use any third party tool for this


So your site doesn't use any 3rd party tools for monitoring system components? You're either working for a very small organization, one with a relaxed attitude to risk or one that doesn't mind if it's in business or not.

I put it to you that your site does use 3rd party tools for monitoring and as my most worthy associate points out these typically have WMQ capabilities. If someone questions why you're trying to use a tool to monitor a queue manager, ask what they use to monitor their databases. I bet that's not a script.

If you either can't or won't use a tool, follow the advice to read the InfoCenter on this. You'll then know how software houses make money selling tools; because the TCO of a 3rd party tool is less than the TCO of a RYO.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Tue Mar 20, 2012 10:46 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

can splunk be used for MQ monitoring i have found this on webpage related to splunk as it is used in our environment.

"In this example there are forwarders for an application server, a service bus and a BPM product - a SOA tier could easily be a Web portal or a WebSphere MQ messaging system. Forwarders are lightweight - in footprint, CPU utilization and network bandwidth utilization. (Default configuration restricts bandwidth consumed to send data to an indexer to a maximum of 256 kbps). For completeness, firewall data is also shown being forwarded."
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 20, 2012 11:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://splunk-base.splunk.com/search/?q=mq&Submit=search
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Wed Mar 21, 2012 5:04 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

i searched on the web and talked to the people who handle monitoring even they say we can use the logs for monitoring,

but it's not a very clear over view is there any way we can get a hold of someone who is a expert of splunk.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 21, 2012 5:18 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

ankurlodhi wrote:
is there any way we can get a hold of someone who is a expert of splunk.

I'm sure this is possible.

I doubt that any such person reads or posts here.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Mar 21, 2012 5:21 am    Post subject: Reply with quote

Poobah

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

ankurlodhi wrote:
i searched on the web and talked to the people who handle monitoring even they say we can use the logs for monitoring

From your research, what types of queue manager performance and state data will be found in WMQ (error) logs?
_________________
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
mqjeff
PostPosted: Wed Mar 21, 2012 5:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
ankurlodhi wrote:
i searched on the web and talked to the people who handle monitoring even they say we can use the logs for monitoring

From your research, what types of queue manager performance and state data will be found in WMQ (error) logs?


As a follow-up clarification - the WMQ Error Logs are not remotely the same things as the logs used by strmqtrc. As I said, it's a *bad* idea to use strmqmtrc for monitoring. It's a *recommended practice* to have your monitoring tools examine the WMQ Error Logs.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Wed Mar 21, 2012 6:25 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

with the error logs we can also examin the event queue to keep a check on the events but i guess i will have to talk about this thing with the management and tell them the whole scene so may be they can get someone with enough knowledge of splunk to work this thing out.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 21, 2012 6:39 am    Post subject: Reply with quote

Grand High Poobah

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

ankurlodhi wrote:
with the error logs we can also examin the event queue to keep a check on the events


Only if events are raised for the given problem. You won't see an event if one of the queue manager processes hangs.

ankurlodhi wrote:
ut i guess i will have to talk about this thing with the management and tell them the whole scene so may be they can get someone with enough knowledge of splunk to work this thing out.


Or they can whack your monitoring people round the head until they come up with a better way of monitoring things than scraping the logs (like whatever they're doing to monitor database and/or applications).

Or they can pay for the WMQ plug-in for whatever the monitoring people are using to monitor software when they're not scraping logs.

You'll notice on the link provided one of the answers indicates seeking a 3rd party dedicated plug in rather than splunk (which from my extensive reading (!) would still leave some monitoring gaps.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Mar 21, 2012 6:45 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

All discussions about monitoring in general are a waste of time until the objectives of the monitoring are agreed on.

That is, "monitoring" is a business function that provides business value and thus has business requirements. If management can not express those business requirements, then no meaningful monitoring is possible.

This does not mean that a well-armed systems admin will not configure a monitoring tool for their own purposes, just to ensure that they know before hand if they will get paged in the middle of the night about the business app that's broken. But it does mean that the systems admin has an entirely separate set of criteria and end-goals than most business users. Uptime is not remotely the same thing as performance metrics.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Mar 21, 2012 8:07 am    Post subject: Reply with quote

Poobah

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

mqjeff wrote:
As I said, it's a *bad* idea to use strmqmtrc for monitoring.

WMQ trace is a wonderful tool to fill up a filesystem, however.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » How to moniter a queue manager
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.