20 Oct 2022
12:33 PM
- last edited on
15 May 2023
03:16 AM
by
Michal_Gebacki
I'm wondering if anyone else has run into this. So I'm following the directions for installing the IBM MQ OneAgent extension (https://www.dynatrace.com/support/help/technology-support/dynatrace-extensions/dynatrace-extension-r...).
I had no issues with this install on a Widows server as I am getting MQ statistics.
But I keep getting the following error when I try to set it up on Linux (same issue on 2 different Linux servers).
"Error (No module named 'pymqe') for: ServerName".
I have a ticket open with Dynatrace support and it's been back and forth for 6 weeks and no resolution.
So I wanted to ask the community. Dynatrace support has advised me that the extension comes with all the required libraries and so I shouldn't need to install additional Python (or otherwise) modules/libraries. And I didn't have to do anything extra for this extension to work on my Windows server.
The thing is, that there are a bunch of pymqe* files in the following directory, same as on the Windows server:
</opt/dynatrace/oneagent/plugin_deployment/custom.python.ibmmq/pymqi>.
On the non-working Linux server, I did add /usr/lib64 and /usr/local/lib to $LD_LIBRARY_PATH, and still the same issues.
Okay, I see your point about the ActiveGate extension version, since Dynatrace does recommend a separate JRE for the extension execution:
Java Runtime Environment of at least version 8 installed on ActiveGate (JRE 11+ recommended). We recommend not using the JRE that comes in the ActiveGate install directory. https://www.dynatrace.com/support/help/shortlink/ibm-mq-extensions#activegate
But Shakib was asking about the OneAgent version.
You're right, they are referring to the OneAgent extension. I missed that. In that case the ActiveGate pieces would not apply to this.
As Steve has said, I do believe there were earlier versions of the IBM MQ Extension where you actually had to ship some MQ connector libraries yourself.
That should have been resolved a long time ago, so first thing I would check is that you are using the latest OneAgent and latest IBM MQ extension version.
On Dynatrace Hub, it has v1.031.3 of IBM MQ for OneAgent: https://www.dynatrace.com/hub/detail/ibm-mq-oneagent/overview/?query=ibm+mq
Also, the extension uses Python.
I am not sure how the ActiveGate & JDK version relates the the extension execution environment (there's a OneAgent IBM MQ extension and also ActiveGate remote version), but ActiveGate should have already been using JDK11+ for about 2years now....