Websphere MQ - more detail about metric: "Status:Connection Count"
search cancel

Websphere MQ - more detail about metric: "Status:Connection Count"

book

Article ID: 138885

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE

Issue/Introduction

As per documentation, the metric "Status:Connection Count" shows the current number of connections to the Queue Manager.


https://docops.ca.com/ca-apm/10-5/en/implementing-agents/ibm-websphere-mq/metrics-reference/


Connection Count (not available on z/OS)Mapped ValueMCurrent number of connections to the Queue Manager.

However, it is not clear  what type of connections are considered (client connections, binding connections, both)



Environment

Release : Any

Component : APM Agents

Resolution

The metric "Status:Connection Count" considers the total number of active connections of all the applications connected to the corresponding queue manager. 


Internally, the MQMonitor uses the MQSC command DISPLAY CONN to retrieve the connection information and count the number of entries in the returning set, i.e. the number of connections.


For example, for an application with a process id of 1234 running against the queue manager named QM1, the command executed internally would be:


'dis conn(*) PID ' | runmqsc QM1| grep 1234| wc -l