Technical Blog Post
Abstract
MQ Monitoring agent: WebSphere MQ side configuration
Body
Configuration of a working MQ agent to collect statistics from WebSphere MQ is to be done on both sides: MQ agent and WebSphere MQ itself.
This blog entry will deal with the WebSphere MQ side configuration.
A separate blog entry has been created for the configuration needed on the MQ agent side:
/support/pages/node/1084725
First of all it is useful to know something more on WebSphere MQ itself.
Here are some control commands. Among them we need to keep in mind the runmqsc command which will be used in our configuration work:
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqzag.doc%2Ffa15550_.htm
crtmqm – To create a queue manager on WMQ.
strmqm / endmqm – To start/stop a queue manager
dspmq – To show the status of the defined queue managers
dspmqver – To display WebSphere MQ version and build information.
runmqsc – Run WebSphere MQ commands on a queue manager.
RUNMQSC allows to run commands against a queue manager.
Here is a list of few useful commands:
dis qmgr – Display properties of a specified queue manager
dis ql – Display properties of a specified local queue
alter qmgr/ql/channel – Change a specified property
Now for the configuration that we are working on, we need to enable generation of statistics from WebSphere MQ side so that MQ agent will be able to gather the needed statistics and report them to TEP.
To do this configuration we need to check what are the current values for the queue manager and then alter the queue manager itself to enable statistics generation.
> DIS QMGR
QMNAME(QM_test1)
ACCTINT(1800)
ACCTMQI(OFF)
AUTHOREV(DISABLED)
CHADEV(DISABLED)
CHLEV(ENABLED)
LOCALEV(ENABLED)
MONCHL(MEDIUM)
MONQ(MEDIUM)
PERFMEV(ENABLED)
REMOTEEV(DISABLED)
STATCHL(MEDIUM)
STATINT(1800)
STATMQI(ON)
STATQ(ON)
Notes:
ACCTMQI/STATMQI | Enable creation of MQI statistics (put/get count etc) |
*EV | Enable creation of MQ events in the SYSTEM.*.*.EVENT queues |
MONQ/MONCHL | Start Queue/Channel monitoring |
STATQ/STATCHL | Enable creation of Queue/Channel statistics (eg. numbers of the opened queues, open queue handles, etc) |
Subscribe and follow us for all the latest information directly on your social feeds:
|
|
|
Check out all our other posts and updates: | |
Academy Blogs: | https://goo.gl/U7cYYY |
Academy Videos: | https://goo.gl/TLfMoF |
Academy Google+: | https://goo.gl/HnTs0w |
Academy Twitter : | https://goo.gl/AhR8CL |
UID
ibm11084731