20 Oct 2022 08:33 PM - last edited on 15 May 2023 11: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.
09 Nov 2022 10:57 PM
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.
10 Nov 2022 01:13 AM
You're right, they are referring to the OneAgent extension. I missed that. In that case the ActiveGate pieces would not apply to this.
09 Nov 2022 10:49 PM - edited 09 Nov 2022 10:53 PM
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....
10 Nov 2022 07:18 AM
What is the support ticket? Then I’ll have the developer of the extension read through it.
Mike
04 Aug 2023 10:31 AM
Hi Shakib,
Is this issue resolved?
Thanks
11 Jan 2024 06:54 PM
Hi Shakib.
We are also experiensing the same issue. Please, could you post the resolution to this issue if any?
Regards
Arild
12 Jan 2024 07:05 PM
Hi Arild,
This post was for the IBM MQ extension version 1.0.x which is deprecated. If you haven't done so yet, please use the latest version of the extension 3.x.
If you still run into issues, I recommend opening a support ticket and attaching your log files to the ticket.
Regards,
Diego