By default, the MQSeries® Events
workspace does not display events such as the Queue Full, Queue Depth
High, Queue Service Interval High, Bridge Stopped, Channel Stopped,
and Channel Not Activated event with the default configuration of
a queue manager. If you want to use event monitoring, you must configure
the queue manager to emit the events.
Before you begin
You must have the required authorities for the
ALTER
QMGR and
ALTER QLOCAL commands.
About this task
Different commands are required depending on what type of
event data you want.
Procedure
- To enable channel and bridge events so that they are displayed
in the MQSeries Events
workspace, run the following MQSC commands:
ALTER QMGR CHLEV(ENABLED)
ALTER QMGR BRIDGEEV(ENABLED)
- To enable Queue Service Interval High events with a service
interval time of 10 seconds (10 000 milliseconds), run the following
MQSC commands:
ALTER QMGR PERFMEV(ENABLED)
ALTER QLOCAL('queue_name') QSVCINT(10000) QSVCIEV(HIGH)
where queue_name is
the name of the queue.
- To enable Queue Depth High events on a specific queue,
run the following MQSC commands:
ALTER QMGR PERFMEV(ENABLED)
ALTER QLOCAL('queue_name') QDPHIEV(ENABLED)
- To enable Queue Depth Low events on a specific queue, run
the following MQSC commands:
ALTER QMGR PERFMEV(ENABLED)
ALTER QLOCAL('queue_name') QDPLOEV(ENABLED)
- To enabled Queue Depth Full events on a specific queue,
run the following MQSC commands:
ALTER QMGR PERFMEV(ENABLED)
ALTER QLOCAL('queue_name') QDPMAXEV(ENABLED)