Collecting data for the Application Accounting workspace

Data in the Application Accounting workspace is retrieved from the accounting messages in a system queue of the queue manager. For this workspace to display correct data, you must configure the queue manager and the IBM MQ Monitoring Agent.

Before you begin

You must have the required authorities for the ALTER QMGR command.

About this task

Do the following steps to collect data for the Application Accounting workspace:

Procedure

  1. Configure the queue manager to collect application accounting information by doing one of the following steps:
    • Run the following MQSC command:
      ALTER QMGR ACCTMQI(ON)
    • Send the command for collecting application accounting information to the queue manager by using the Take Action command. See Sending a Take Action command for information about how to send a Take Action command to a managed system.
  2. Set the interval over which the accounting data is collected in the queue manager by doing one of the following steps:
    • Run the following MQSC command:
      ALTER QMGR ACCTINT(n)
      where n is the number of seconds over which the accounting data is collected in the queue manager.
    • Send the command for setting the interval over which the accounting data is collected to the queue manager by using the Take Action command. For information about how to send a Take Action command to a managed system, see Sending a Take Action command.
  3. Optional: Edit the monitoring file of the IBM MQ Monitoring Agent to allow it to read messages from the system statistics queues.
    The ACCOUNTINGINFO attribute specifies how the IBM MQ Monitoring Agent accesses the data that is produced by the queue manager. It is set to REMOVE by default. You can set it to BROWSE to suit the requirements of your environment. See Changing monitoring options for information about how to change monitoring options.
  4. If you changed the monitoring file of the IBM MQ Monitoring Agent, 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.