IBM Support

MQ does not provide native support for SNMP (but the MQ Appliance does support it since 9.0.1 CD)

Troubleshooting


Problem

You want to know if MQ has a Management Information Base (MIB), and if MQ can send Simple Network Management Protocol (SNMP) alerts.

Resolving The Problem

There are 2 sections in this note:
a) MQ Appliance does support SNMP since MQ 9.0.1 CD
https://www.ibm.com/support/knowledgecenter/SS5K6E_9.1.0/com.ibm.mqa.doc/configuring/co00520_.htm
IBM MQ Appliance 9.1.x / IBM MQ Appliance / Configuring / Configuring the appliance / 
SNMP Settings
The IBM® MQ Appliance supports SNMP versions 1, 2c, and 3.
b) For other MQ (non-Appliance): no support for SNMP
- MQ does not define Management Information Base (MIB) reports.
- MQ does not support Simple Network Management Protocol (SNMP) in regards to providing an SNMP - agent or a MIB's listing.
There are other vendor products that produce MIBs for MQ.

There are a few different ways to achieve monitoring dependent on what operating system you have and what IBM Tivoli product set, that is, if you have Tivoli Enterprise Console or Tivoli Monitoring (using the MQ Business Integration pack). We would recommend these over using SNMP, since MQ does not provide an SNMP agent.

"A number of vendors have produced MIBs for MQ, such as Nastel as part of MQControl. Defining the MIB is not hard but writing the agent is the complex part. The MIB just defines the interface to the agent and tells products like Netview what your agents supports. A simple agent could take our events and convert them to SNMP traps. An agent which allowed commands would be much more complicated.
We have stated that MQ will not be providing an SNMP agent as our vendors have already done it.
The agent itself is really only the start."
.
The MIB file with the trap definitions could then be loaded so that Netview can format the traps it receives into a human readable form, rather than as a string of numbers. Depending on how good this file is there may be some additional configuration work on Netview server also.
.
However, the Programmable Command Format(PCF) can be used in (C, C++, Java™, etc) to programmatically check channels, queue depths, and so on; that is, the health of MQ.
For more information see:
https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.adm.doc/q019990_.htm
IBM MQ 9.2.x / IBM MQ / Administering / Automating IBM MQ administration using PCF commands / 
Introduction to IBM MQ Programmable Command Formats
 
+ end +

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008ObAAI","label":"Components and Features->Administration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WMQ MQ

Document Information

Modified date:
03 August 2020

UID

swg21292144