ITCAM MQ agent shows zero values for Msgs Put per Sec, Msgs Read per Sec etc
sushk 1100006DS0 Visits (4384)
ITCAM WebSphere MQ Monitoring agent V7.3.
In Tivoli Enterprise Portal (TEP), the MQ agent Queue Stat
You must configure the WebSphere MQ Monitoring agent to collect the data that is displayed in Queue Statistics attributes.
Columns relating to the Queue Statistics are:
By default, the collection of these attributes is disabled, and these attributes will therefore show zero values.
Use following steps to enable queue statistics collection for the MQ agent.
Be aware that using the Queue Statistics feature affects other information processing. Carefully consider the impact before enabling this collection.For information about enabling Queue Statistics feature considerations, see the section "Collecting queue statistics data" in the ITCAM Agent for WebSphere MQ: User's Guide (See link in references section of this post)
1) Set the STATISTICS monitoring option of the SET QUEUE statement in the agent monitoring file to YES.
For example, in host_mq_INST.cfg under ITMHOME/config file:
change the SET QUEUE statement as follows:
2) Restart of the monitoring agent is required for the changes to take effect.
You may still see zero values for Msgs Put per Sec, Messages Read per Sec etc, even after STATISTICS(YES) is added for SET QUEUE and restarting the agent.
The "Current Depth" for queue may be non-zero or even a large number, and yet the attributes show zero values. The reason is that there are no message get or put activity in the last sampling interval which is determined by SAMPINT in the agent configuration file.
PERFORM STARTMON SAMPINT(300)
You can check the activity in prior intervals by checking the Recent Queue Statistics (Linked from Queue Statistics workspace row) as shown in the following screenshots:
Access linked "Recent Queue Statistics" workspace from Queue Statistics row as shown:
Recent Queue Statistics in prior intervals is shown in the linked workspace:
Tips for testing the scenario for queue statistics columns
Create a test local queue ('TESTQ' ).
Put many messages on the queue. A quick way to accomplish that is to use the MQ provided tool amqsblst to put large number of messages on the queue within a short interval.
For example, following command will place 1000 messages on the queue.
amqsblst qmgrname queuename -W -c 1000
Following command will read messages from the queue:
This tool is located in following directories:
Check the workspaces for the attributes.
Collecting data for the Queue Statistics workspace
Collecting queue statistics data
Wiki: Refer to 9. Collecting Reset Queue Statistics data for Queue Statistics workspaces in following link
Basic configuration after agent installation (MQ)
Subscribe and follow us for all the latest information directly on your social feeds: