# OneAgent POC for IBM MQ

**URL:** <https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672>\
**Category:** Extensions\
**Tags:** extensions, queues, ibm-mq\
**Created:** [December 13, 2022, 8:01am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672 "2022-12-13T08:01:46Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![nil1727](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nil1727](https://community.dynatrace.com/u/nil1727)\
**Post date:** [December 13, 2022, 8:01am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/1 "2022-12-13T08:01:46Z")

</div>

All,

I am trying to explore Dynatrace for IBM MQ 9.2.0.2/3 as per instructions mentioned on below page but having few queries.

> **[Extensions](https://docs.dynatrace.com/docs/ingest-from/extensions)**
>
> Learn how Dynatrace Extensions work, where they run, and how to create, deploy, and manage extensions to collect data from custom sources.

1. Where I need to configure plugin for IBM MQ. Is that on Dynatrace server or on MQ server?

2. Is there any document on how MQ plugin works. What is frequency to pull metrics?

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 13, 2022, 8:33am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/2 "2022-12-13T08:33:31Z")

</div>

Hi&nbsp;[@nil1727](https://community.dynatrace.com/user/57136)&nbsp;,

Based on the documentation there are two types of MQ extesnion.

1. One agent MQ extension, in this case you need to install oneagent to the MQ server

2. Active gate MQ extension, in this case you do not need to install oneagent to the MQ server

Both cases you need an MQ user / pw.

Configuration can be done on the Dynatrace GUI for the oneagent vesrion or the Active gate version too.

I guess the frequency is one min.

I hope it helps.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![nil1727](https://avatars.discourse-cdn.com/v4/letter/n/b5ac83/32.png) [@nil1727](https://community.dynatrace.com/u/nil1727)\
**Post date:** [December 13, 2022, 9:28am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/3 "2022-12-13T09:28:36Z")

</div>

Thanks @Mizso for the details.

I am going with OneAgent plugin, do we have any document on used case?

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [December 13, 2022, 9:48am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/4 "2022-12-13T09:48:54Z")

</div>

You can find it here:&nbsp;[Extensions — Dynatrace Docs](https://www.dynatrace.com/support/help/technology-support/dynatrace-extensions/dynatrace-extension-required/ibm-mq-extensions#oneagent)

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [December 13, 2022, 11:06am UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/5 "2022-12-13T11:06:31Z")

</div>

Would be interesting to hear some hands-on experience if someone has implemented both methods. I’ve only used the AG one. I suppose the collected data is anyway 100 % identical in both cases? Would a guideline then be that if you anyway have OneAgent installed on the queue manager servers, it’s best to use that one - otherwise maybe use the remote extension..? Any pros and cons depending on the selected monitoring method?

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 13, 2022, 1:16pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/6 "2022-12-13T13:16:50Z")

</div>

Hi&nbsp;[@nil1727](https://community.dynatrace.com/user/57136)

[@Mike\_L](https://community.dynatrace.com/user/11520)&nbsp;'s suggestion is correct regarding the documnetation. Beside the documentation I always check the Dynatrace Hub information also on the public net and inside on the GUI about the extensions.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 13, 2022, 1:22pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/7 "2022-12-13T13:22:57Z")

</div>

Hi&nbsp;[@kalle\_lahtinen](https://community.dynatrace.com/user/25049),

I’ ve&nbsp; only used oneagent extension. I would like to use in a different environmnet an AG version. I hope I will have chance to compare them. But to be honest I do not expect to much differnece.

In my opinion in some cases the infra quys do not allow to install agents on middleware and db servers (fear from any overhead) , so in these cases the only option is the AG extensions.

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [December 13, 2022, 3:25pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/8 "2022-12-13T15:25:11Z")

</div>

Hi&nbsp;[@kalle\_lahtinen](https://community.dynatrace.com/user/25049)&nbsp;,

They both gather the same metrics. The difference is where you find those metrics on Dynatrace.

OneAgent extension attaches its metrics to the process detected by the OneAgent.  
ActiveGate extension attaches its metrics to a custom device it creates (each queue manager becomes a custom device).  
If you already have a OneAgent on the MQ server, it makes sense to opt for the OneAgent version of the extension as long as it is on an OS that supports the extension framework to load it. If it’s a Windows/Linux MQ then it’s fine.

If MQ is running on other OSs, or you don’t have access to those hosts then go for the ActiveGate version.

Hope this helps.

Thanks,

Diego

---

<div class="post-metadata">

**Author:** ![kalle\_lahtinen](https://avatars.discourse-cdn.com/v4/letter/k/bb73d2/32.png) [@kalle\_lahtinen](https://community.dynatrace.com/u/kalle_lahtinen)\
**Post date:** [December 13, 2022, 3:27pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/9 "2022-12-13T15:27:05Z")

</div>

Thanks Diego! That’s a good summary 🙂

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 13, 2022, 3:32pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/10 "2022-12-13T15:32:42Z")

</div>

Hi All,

I have one problem with the oneagent MQ extension. I have not had time to raiesed a ticket.

When I switched on this option I did not reveive data anymore, after switch off problem dissapeared.

 ![Mizs_0-1670945521807.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6a82e42a88db590c798931c690fc6ed6776ce920.png)

Best regards,

Mizső

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [December 13, 2022, 5:51pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/11 "2022-12-13T17:51:27Z")

</div>

Hi&nbsp;[@Mizső](https://community.dynatrace.com/user/47783)&nbsp;,

Update the extension. That’s resolved in a recent version.

Thanks,

Diego

---

<div class="post-metadata">

**Author:** ![mizso74](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mizso74/32/41729_2.png) [@mizso74](https://community.dynatrace.com/u/mizso74)\
**Post date:** [December 13, 2022, 8:28pm UTC](https://community.dynatrace.com/t/oneagent-poc-for-ibm-mq/37672/12 "2022-12-13T20:28:29Z")

</div>

Thanks&nbsp;[@diego\_morales](https://community.dynatrace.com/user/21611)&nbsp;,

I am going to test with the clinet.

Best regards,

Mizső
