Using WebSphere MQ online monitoring

We can collect monitoring data for queues and channels (including automatically defined cluster-server channels) by setting the MONQ, MONCHL and MONACLS attributes. Table 14 summarizes the commands to set these attributes at different levels and to display the monitoring information.

Table 14. Setting and displaying attributes to control online monitoring
Attribute Applicable at this level Set using command Display monitoring information using command
MONQ Queue

DEFINE QLOCAL

DEFINE QMODEL

ALTER QLOCAL

ALTER QMODEL

DISPLAY QSTATUS
Queue manager ALTER QMGR
MONCHL Channel

DEFINE CHANNEL

ALTER CHANNEL

DISPLAY CHSTATUS
Queue manager ALTER QMGR
MONACLS Queue manager ALTER QMGR

For full details of these commands, see WebSphere MQ Script (MQSC) Command Reference. For more information about online monitoring, see Monitoring WebSphere MQ.