By default, if the WebSphere® MQ
Monitoring agent is running
on a distributed system, several columns of the Queue Statistics workspace
display zero. You must configure the WebSphere MQ
Monitoring agent to collect
the data that is displayed in these columns.
About this task
Perform this procedure to configure
WebSphere MQ
Monitoring agent to collect
data for the following columns in the Queue Statistics workspace:
- Highest Depth
- Messages Put
- Messages Put per Sec
- Messages Read
- Messages Read per Sec
- Time to Full Queue (Secs)
- Time to Zero Msgs (Secs)
Procedure
- Open the monitoring file of the WebSphere MQ
Monitoring agent. See Changing monitoring options for information
about how to open the monitoring file on your operating system.
- Set the STATISTICS monitoring option of the SET QUEUE command
in the monitoring file to YES. For example, the following
command sets the STATISTICS monitoring option for all queues on the
queue manager QMGR to YES:
SET QUEUE NAME(*) MGRNAME(QMGR) QDEFTYPE(PREDEFINED) STATISTICS(YES)
- Restart the agent for the changes to take effect.
What to do next
You do not need to restart the queue manager for these changes
to take effect.