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 » WebSphere Message Broker (ACE) Support » IIB9: CMP API, mqsireadlog

Post new topic  Reply to topic
 IIB9: CMP API, mqsireadlog « View previous topic :: View next topic » 
Author Message
akil
PostPosted: Thu Apr 14, 2016 8:59 am    Post subject: IIB9: CMP API, mqsireadlog Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Is there a CMP equivalent for mqsireadog & mqsiformatlog ?

Unable to find it in the documentation.
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Thu Apr 14, 2016 10:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If it's not documented, it's a reasonably good guess that you can't do it.

The CMP is not a total solution for monitoring Broker. In fact, it's not really a solution for monitoring broker. It's a set of tools for running certain kinds of config, and viewing certain kinds of things.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
akil
PostPosted: Thu Apr 14, 2016 10:36 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Possibly, but there have been instances where I have missed finding it , hence the question ..

This is one command that does not run against a remote broker , so I guess it could be true that there's something magical that it does, instead of communicating with the broker like other CMP commands..

The fact that this command requires one to login to the broker's machine, is one reason why I am looking for a programmatic way to get this ..
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Thu Apr 14, 2016 10:39 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

They read files off of the broker file system.

They don't read information from any of the broker processes.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
akil
PostPosted: Thu Apr 14, 2016 10:42 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

The documentation mentions

"f
(Optional for User trace; required for Service trace). Read the log file directly from the file system. If you do not specify this option, the command sends an XML message to the component to request the log contents. If you have specified -t (service trace), you must specify this flag as well."

I am hoping that without the -f option, there's some other thing that the command does ..
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Apr 14, 2016 10:45 am    Post subject: Reply with quote

Grand High Poobah

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

akil wrote:
I am hoping that without the -f option, there's some other thing that the command does ..


Yes:

Quote:
If you do not specify this option, the command sends an XML message to the component to request the log contents

_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
akil
PostPosted: Thu Apr 14, 2016 7:17 pm    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

That XML message to the component is making me hope that there is a programmatic way as well, albeit not documented .

Any ideas ?
_________________
Regards
Back to top
View user's profile Send private message Visit poster's website
akil
PostPosted: Sat Apr 16, 2016 1:00 am    Post subject: Reply with quote

Partisan

Joined: 27 May 2014
Posts: 338
Location: Mumbai

Further, if I stop the Broker, the following command gives an error

iibadm@iib:~$ mqsireadlog IB9NODE -e Q -u
BIP8032E: Unable to connect to a WebSphere MQ queue.
An attempt was made to connect to the component's WebSphere MQ Queue Manager and queue, this attempt was unsuccessful.
Ensure that the components WebSphere MQ Queue Manager and queue are available, running and that the user has sufficient authority to access them.


While the the command with -f works..

So there's definitely a MQ message communication that's happening, any way to figure out what it would be ? This'll help read logs remotely..
_________________
Regards
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 » WebSphere Message Broker (ACE) Support » IIB9: CMP API, mqsireadlog
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.