Configuring the WebSphere MQ agent
You must assign an instance name to the WebSphere® MQ agent and configure the agent before it can start monitoring your IBM® MQ (WebSphere MQ) environment.
Before you begin
- Make sure that the agent user ID has appropriate permission to access IBM MQ (WebSphere MQ) objects. If you have not done it, follow the instructions in Authorizing the user IDs to run the agent.
- Configure IBM MQ (WebSphere MQ) to enable the required data collection. If you have not done it, see Configuring IBM MQ (WebSphere MQ) for data enablement.
- You must provide the name of queue manager to be monitored by the WebSphere MQ agent. Contact the IBM MQ (WebSphere MQ) administrator if you do not know the appropriate queue manager name. Alternatively, issue the dspmq command from the bin directory within the IBM MQ (WebSphere MQ) installation directory to get a list of the queue managers. The returned QMNAME value is what you must provide when you configure the WebSphere MQ agent.
About this task
The WebSphere MQ agent is a multiple instance agent; you must create the first instance and manually start the agent.
On UNIX or Linux® systems, you can choose to configure the agent with or without interactions. On Windows systems, you can configure the agent without interactions only.
- To configure the agent with interaction, run the configuration script and respond to prompts. See Interactive configuration.
- To configure the agent without interaction, edit the silent response file and then run the configuration script. See Silent configuration.
Interactive configuration
Procedure
To configure the agent by running the script and responding to prompts, complete the following steps:
Silent configuration
Procedure
To configure the agent by editing the silent response file and running the script without interaction, complete the following steps:
Results
Now, you can log in to the Cloud APM console and use the Applications editor to add the WebSphere MQ agent instance to the Application Performance Dashboard. For instructions on how to start the Cloud APM console, see Starting the Cloud APM console. For information about using the Applications editor, see Managing applications.
What to do next
- If you have enabled MQI application activity trace information collection at the queue manager, use the Agent Configuration page to configure the WebSphere MQ agent to collect transaction tracking data of the monitored queue manager. See Configuring transaction tracking for the WebSphere MQ agent. If the agent does not show up on the Agent Configuration page, restart the Cloud APM server.
- Depending on your monitoring requirements, you might require a unique managed system name to
distinguish different monitoring agents. Use the
Agent Name
option in themq-agent.sh config
command to specify the middle qualifier of the managed system name. See Specifying unique managed system names for multiple queue managers. - To configure the WebSphere MQ agent for remote monitoring, you must do some manual configuration after you create an agent instance. For instructions, see the following topics: