IBM MQ Monitoring

Monitor the availability and performance of your IBM MQ server with Site24x7's ready-to-install IBM MQ monitoring plugin integration. Track key performance metrics and gain insights into the health of your IBM MQ infrastructure to avoid disruptions and ensure your diverse systems and applications are connected and communicating seamlessly.

Start 30-day free trial Try now, sign up in 30 seconds
IBM MQ Monitoring

What is IBM MQ?

IBM MQ (formerly known as WebSphere MQ) is messaging middleware that exchanges information between applications, systems, services, and files by sending and receiving message data via messaging queues. It is robust, secure, and reliable, enabling streamlined integrations and maintenance of business applications. IBM MQ can be deployed across various environments, such as on-premises, cloud, and hybrid cloud. It also provides messaging and queuing capabilities through different modes of operation, including point-to-point and publish/subscribe.

Monitor the performance of your IBM MQ server

Issues with the availability of the IBM MQ server or connection issues and delays in the queue manager processing data can lead to disruptions in your IBM MQ infrastructure, causing communication failures between your systems and applications. Deliver optimal user experiences by monitoring the health and performance of your IBM MQ server with Site24x7's IBM MQ monitoring tool.

Get insights into critical IBM MQ performance metrics

Track availability and detect potential performance issues by tracking queue, queue manager, and channel metrics so that communications between your applications never miss a beat.

Stay updated with instant alerts

Get instant notifications every time values cross predefined threshold limits so you can swiftly implement preventative or recovery measures.

Remediate incidents with event-driven IT automation

Set up automated workflows to take corrective action in IBM MQ when breaches of predefined thresholds occur to keep the systems up and running.

Create custom dashboards

Assemble data from different parts of your infrastructure with drag-and-drop widgets and build personalized dashboard views.

Start 30-day free trial Try now, sign up in 30 seconds

Get started with Site24x7's IBM MQ monitoring tool

  • Supported Platforms:
  • Python Version:
    2.7 & above
  • Linux Agent Version:
    15.0.0 & above

Performance Metrics

The following metrics are captured in the IBM MQ monitoring plugin, which has been categorized under the queue manager, queue, and channel entities of IBM MQ.

The following queue manager metrics are tracked by the plugin integration:
Name Description
Connection Count The number of connections to the queue manager
Status The status of the queue manager
The following queue metrics are tracked by the plugin integration:
Name Description
Queue Name The name of the queue
High Queue Depth The maximum number of messages on the queue since the queue statistics were last reset
Msg Dequeue Count The number of messages removed from the queue since the queue statistics were last reset
Msg Enqueue Count The number of messages enqueued (i.e., the number of messages put on the queue since the queue statistics were last reset)
Current Queue Depth The current number of messages on the queue
Handles Open (Input Count) The number of handles that are currently open for input for the queue
Handles Open (Output Count) The number of handles that are currently open for output for the queue
Last Msg Get Date The date of the last message successfully read from the queue
Last Msg Get Time The time of the last message successfully read from the queue
Last Msg Put Date The date of the last message successfully put on the queue
Last Msg Put Time The time of the last message successfully put on the queue
Oldest Msg Age The age of the oldest message on the queue
No. of Uncommitted Msgs The number of uncommitted messages on the queue
The following channel metrics are tracked by the plugin integration:
Name Description
Channel Name The name of the channel
Channel Connection Name The string that identifies a particular channel and the associated communication protocol
Channel Status The current status of the channel
No. of MQI Calls The number of messages sent or received
Bytes Sent The number of bytes sent
Bytes Received The number of bytes received
Buffers Received The number of buffers received
Channel Substate The current action being performed by the channel
Channel Start Date The date when the channel started.
Channel Start Time The time when the channel started

Setup

Prerequisites

Ensure you meet the following requirements before installing the plugin:

  • You need a Site24x7 account. If you don't have one, sign up here for free.
  • Download and install the Site24x7 server monitoring agent (Linux | Windows) on the server where you intend to run the plugin.
  • Ensure that the pymqi module for Python is installed. If it is not installed, execute the following command to install it:
    pip install pymqi

Installation

  • Create a folder named ibm_mq_monitoring.
  • Download the ibm_mq_monitoring.py file and the ibm_mq_monitoring.cfg file from our Github repository and place them in the ibm_mq_monitoring folder.
    wget https://raw.githubusercontent.com/site24x7/plugins/master/ibm_mq_monitoring/ibm_mq_monitoring.py
    wget https://raw.githubusercontent.com/site24x7/plugins/master/ibm_mq_monitoring/ibm_mq_monitoring.cfg
  • Add the following configuration in the ibm_mq_monitoring.cfg file:
    [ibm_mq]
    queue_manager_name = <QUEUE MANAGER NAME>
    channel_name = <CHANNEL NAME>
    queue_name = <QUEUE NAME>
    host = <HOST NAME>
    port = <PORT NUMBER>
    username = <IBM MQ USERNAME>
    password = <IBM MQ PASSWORD>
  • Follow the steps in this article to learn how to run the python script on a Windows server. You don't need to do this for Linux.
  • Move the ibm_mq_monitoring folder to the Site24x7 server monitoring plugin directory.
    For Linux: /opt/site24x7/monagent/plugins/
    For Windows: C:\Program Files (x86)\Site24x7\WinAgent\monitoring\plugins\
  • To verify that the plugin is working, execute the command below with appropriate arguments to check for a valid JSON output:
    python3 ibm_mq_monitoring.py --queue_manager_name= --channel_name= --queue_name= --host= --port= --username= --password=

The agent will automatically execute the plugin within five minutes and send performance data to the Site24x7 data center.

To view performance charts and set thresholds for the various performance metrics:

  • Log in to Site24x7.
  • Navigate to Server > Plugin Integrations.
  • Click the required monitor.

Plugin Contribution

Feel free to contribute to our existing plugin and come up with suggestions or feedback on our Community.

  • Supported Platforms:
  • Python Version: 2.7 & above
  • Linux Agent Version:15.0.0 & above

Over 13,000 customers trust Site24x7

Brand logos of our various customers

Check out our 100+ plugin integrations or build your own

Choose from our list of more than 100 ready-to-use plugins and monitor your full stack of applications across web servers, databases, load balancers, and more.

See all plugin integrations