To monitor when a Queue Manager reaches its maximum allowed number of connections, follow these steps to deploy a Universal Agent Expert and create a policy in EM:
Step 1: Deploy the Universal Agent Expert
From the Deployment Tool, right-click on the CEP server node, select Deploy Expert > IBM MQ > Universal Agent.
Step 2: Configure MQSC Commands in the Expert Properties
Once deployed, open the Properties of the QMGR_status_Monitor under IBM_MQ_Experts.
In the Properties tab:
- Set MQSC Command:
DISPLAY qmstatus all - Set MQSC Fact Update:
DISPLAY qmstatus conns
These commands ensure that connection count data is pulled from the Queue Manager.
Step 3: Verify Connection Facts
Expand the Facts under the QMGR_status_Monitor in EM. You will find the CONNS fact, which displays the number of current connections (e.g., CONNS : 30).
You can now create a policy based on this CONNS fact to trigger alerts when a threshold is met or exceeded.
This expert requires
the WGS_Event_Monitor to function
correctly. Ensure that it's configured properly in your domain. For details,
refer to the
WGS_Event_Monitor Properties
page below.
Ensure that Authentication is enabled in the WGS_Event_Monitor Properties, as shown below.
🔗 Related Articles
These links provide additional guidance on monitoring Queue Manager connections and the expert deployment process.