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 » Monitoring MQ with the Unix script

Post new topic  Reply to topic
 Monitoring MQ with the Unix script « View previous topic :: View next topic » 
Author Message
senthilkumar_ak
PostPosted: Mon Nov 10, 2008 1:54 am    Post subject: Monitoring MQ with the Unix script Reply with quote

Newbie

Joined: 10 Nov 2008
Posts: 2

Hi all,

Please correct me / excuse me if i am wrong.

we have a websphere server which is running on linux and i am trying automate every thing which is related to this. We have MQ runnig along with this. i need to get the state of MQ queue from the log file. Is it possible me to get the information anywhere from the Logs or i need to do some thing else, Please let me know the results.

~aks
_________________
Thanks
Senthil Kumar AK
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 10, 2008 3:04 am    Post subject: Re: Monitoring MQ with the Unix script Reply with quote

Grand High Poobah

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

senthilkumar_ak wrote:
i need to get the state of MQ queue from the log file.


What "state"? Queues don't have states per se. So you mean "state" in the sense of "working well"?

You can monitor the logs for queue manager status as well as DISPLAY commands (or their PCF equivalent). Things like queue depth (a good indicator of happiness if your design is right) again requires a DISPLAY command.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
senthilkumar_ak
PostPosted: Mon Nov 10, 2008 3:33 am    Post subject: Reply with quote

Newbie

Joined: 10 Nov 2008
Posts: 2

Thanks for the reply,

As i am new to the MQ i mentioned status as state, where from i will get the queue manager log file.. and is it any command available me to trigger and get the status of the particular MQ...?

bash-2.05$ cd /opt/mqm
bash-2.05$ ls
bin inc java lib licenses ptf READMES READMES.client samp tivoli versions

where from i take the display command.

~aks
_________________
Thanks
Senthil Kumar AK
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Nov 10, 2008 4:05 am    Post subject: Reply with quote

Grand High Poobah

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

senthilkumar_ak wrote:
As i am new to the MQ


Consider some training.

senthilkumar_ak wrote:
where from i will get the queue manager log file..


If I said the log directory would you believe me? Note that there are 2 kinds of logging within WMQ: one is the queue manager log & is concerned with error reporting (rather than status); the other is the message logging and is not intended to be readable by non-IBM software.

senthilkumar_ak wrote:
and is it any command available me to trigger and get the status of the particular MQ...?


There's no such thing as "the status" as I alluded to in my previous post. The DISPLAY commands are issued as normal via runmqsc or as PCF. If you don't know that, gdo some reading / training before attempting your task or you'll get yourself in a tangle.

I also commend to your attention the Monitoring MQ manual which contains a lot of useful information for you. Links at the top of this page.

Alternatively forget reinventing the wheel & buy one of the commercial monitoring products which does this out of the box.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Mon Nov 10, 2008 6:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

senthilkumar_ak wrote:
Thanks for the reply,

As i am new to the MQ i mentioned status as state, where from i will get the queue manager log file.. and is it any command available me to trigger and get the status of the particular MQ...?

bash-2.05$ cd /opt/mqm
bash-2.05$ ls
bin inc java lib licenses ptf READMES READMES.client samp tivoli versions

where from i take the display command.
~aks


The bin directory contains all the executables. These are referred to by symbolic links from /usr/bin, so there is no need to put /opt/mqm/bin in your path.

I suggest you look at the 'dspmq' command in the WebSphere MQ System Administration Guide.
_________________
Glenn
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Tue Jan 13, 2009 11:39 pm    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

use mqcheck script from PAUL CLARKE...
work on Solaris, linux, AIX........
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 14, 2009 3:52 pm    Post subject: Reply with quote

Grand High Poobah

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

Way too much pain.

Depending on the bang for the buck I'd try and use some MQ Monitoring software. Some is free, some you have to pay for. But don't reinvent the wheel...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
oesi78
PostPosted: Fri Jan 30, 2009 6:39 am    Post subject: mqcheck script from PAUL CLARKE Reply with quote

Newbie

Joined: 29 Jan 2009
Posts: 1

Hello!
where find this script (mqcheck script from PAUL CLARKE)?

Where i can download this script?

regards
peter
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 » Monitoring MQ with the Unix script
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.