# MSMQ integration

**URL:** <https://community.dynatrace.com/t/msmq-integration/16958>\
**Category:** Extensions\
**Tags:** extensions, queues\
**Created:** [November 7, 2018, 8:19pm UTC](https://community.dynatrace.com/t/msmq-integration/16958 "2018-11-07T20:19:46Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![boubacar\_diallo](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@boubacar\_diallo](https://community.dynatrace.com/u/boubacar_diallo)\
**Post date:** [November 7, 2018, 8:19pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/1 "2018-11-07T20:19:46Z")

</div>

I have a basic Plugin (Python/Json) and want to know how to integrate MSMQ into this script to pull out Queue Depth and other KPI

---

<div class="post-metadata">

**Author:** ![Dant3](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dant3/32/159_2.png) [@Dant3](https://community.dynatrace.com/u/Dant3)\
**Post date:** [November 29, 2018, 4:34am UTC](https://community.dynatrace.com/t/msmq-integration/16958/2 "2018-11-29T04:34:52Z")

</div>

Hi [@Boubacar D.](https://answers.dynatrace.com/users/22933/view.html) Did you found a solution to this question?

Thanks!

---

<div class="post-metadata">

**Author:** ![barryla](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barryla](https://community.dynatrace.com/u/barryla)\
**Post date:** [December 3, 2018, 5:42am UTC](https://community.dynatrace.com/t/msmq-integration/16958/3 "2018-12-03T05:42:47Z")

</div>

Hi [@Boubacar D.](https://answers.dynatrace.com/users/22933/view.html), we do have a plugin that is able to get the MSMQ queue depths and pull that information into Dynatrace Managed/Saas. It is very basic but I am sure it would be able to give you the information you need. We would love to share on the community to get more people to improve the plugin.

---

<div class="post-metadata">

**Author:** ![boubacar\_diallo](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@boubacar\_diallo](https://community.dynatrace.com/u/boubacar_diallo)\
**Post date:** [December 3, 2018, 1:21pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/4 "2018-12-03T13:21:44Z")

</div>

Thanks Barry for your response on the MSMQ request,

Can you share the link and any other details that might be helpful?

---

<div class="post-metadata">

**Author:** ![boubacar\_diallo](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@boubacar\_diallo](https://community.dynatrace.com/u/boubacar_diallo)\
**Post date:** [March 18, 2019, 4:42pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/5 "2019-03-18T16:42:53Z")

</div>

Barry,

Would you please share the link for the MSQM plugin?

---

<div class="post-metadata">

**Author:** ![barryla](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barryla](https://community.dynatrace.com/u/barryla)\
**Post date:** [March 18, 2019, 7:24pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/6 "2019-03-18T19:24:46Z")

</div>

[custompythonmsmq-queue-count-plugin.zip](https://answers.dynatrace.com/storage/attachments/20038-custompythonmsmq-queue-count-plugin.zip)

Hope the above helps  
[custompythonmsmq-queue-count-plugin.zip](https://community.dynatrace.com/uploads/short-url/9mZSUOb1cOt1UNl6zgKTTJqGGwz.zip) (1.76 KB)

---

<div class="post-metadata">

**Author:** ![b\_wijfjes](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@b\_wijfjes](https://community.dynatrace.com/u/b_wijfjes)\
**Post date:** [April 1, 2019, 2:12pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/7 "2019-04-01T14:12:56Z")

</div>

Hi Barry, first of all thanks for sharing. But I am struggling to get this working, is does not give any error in the logging but just wont output anything. Where do you see the output? I modified the JSON file to represent the que’s we use. Is there anything else I need to adjust to make this work?

---

<div class="post-metadata">

**Author:** ![boubacar\_diallo](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@boubacar\_diallo](https://community.dynatrace.com/u/boubacar_diallo)\
**Post date:** [April 4, 2019, 7:18pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/8 "2019-04-04T19:18:54Z")

</div>

Hi Branko, were you able to make it work. I have similar issues here

---

<div class="post-metadata">

**Author:** ![b\_wijfjes](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@b\_wijfjes](https://community.dynatrace.com/u/b_wijfjes)\
**Post date:** [April 5, 2019, 5:11am UTC](https://community.dynatrace.com/t/msmq-integration/16958/9 "2019-04-05T05:11:17Z")

</div>

Hi Boubacar, unfortunatly not. There is a support ticket: [https://support.dynatrace.com/supportportal/browse/SERVICES-2872](https://support.dynatrace.com/supportportal/browse/SERVICES-2872).

I hope someone will figure it out because I am out of options.

---

<div class="post-metadata">

**Author:** ![mallempati\_sree](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mallempati\_sree](https://community.dynatrace.com/u/mallempati_sree)\
**Post date:** [August 29, 2019, 7:48pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/10 "2019-08-29T19:48:43Z")

</div>

```auto
Hi <a rel="user noopener noreferrer" href="https://answers.dynatrace.com/users/22933/view.html">@Boubacar D.</a> / <a rel="user noopener noreferrer" href="https://answers.dynatrace.com/users/27047/view.html">Dante P.<br></a>                     <br>Have you found a solution to monitor the MSMQ metrics?<br><br>Thanks!<br>

```

---

<div class="post-metadata">

**Author:** ![barryla](https://avatars.discourse-cdn.com/v4/letter/b/7bcc69/32.png) [@barryla](https://community.dynatrace.com/u/barryla)\
**Post date:** [August 30, 2019, 6:27am UTC](https://community.dynatrace.com/t/msmq-integration/16958/11 "2019-08-30T06:27:24Z")

</div>

Hope the update MSMQ plugin will work. This is a remote plugin versus the local plugin I previously used

[MSMQ\_RemoteAgent\_Plugin\_Doc.docx](https://answers.dynatrace.com/storage/temp/21746-msmq-remoteagent-plugin-doc.docx)

[custom.python.winMSMQ.zip](https://answers.dynatrace.com/storage/temp/21745-custompythonwinmsmq.zip)  
[custompythonwinmsmq.zip](https://community.dynatrace.com/uploads/short-url/1TH5uCkEJOsTSljM2thMwVKwOxn.zip) (9.14 MB)  
[msmq-remoteagent-plugin-doc.docx](https://community.dynatrace.com/uploads/short-url/m0o3XOBSV0hjfygBYeJel1pBZkK.docx) (79.1 KB)

---

<div class="post-metadata">

**Author:** ![b\_wijfjes](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@b\_wijfjes](https://community.dynatrace.com/u/b_wijfjes)\
**Post date:** [September 16, 2019, 9:15am UTC](https://community.dynatrace.com/t/msmq-integration/16958/12 "2019-09-16T09:15:16Z")

</div>

Hi All,

We spend some flexpoints to get support on this. With the support engineer the issue was solved. The issue was: somehow the metrics did not show up under the assinged host, but if you use search, the metrics could be found.

The solution: some changes in the json file. I did not get permission to share the files, sorry.

[@Barry L.](https://answers.dynatrace.com/users/22537/view.html): Thanks for uploading.

---

<div class="post-metadata">

**Author:** ![hgouramoni](https://avatars.discourse-cdn.com/v4/letter/h/c2a13f/32.png) [@hgouramoni](https://community.dynatrace.com/u/hgouramoni)\
**Post date:** [February 11, 2020, 2:19pm UTC](https://community.dynatrace.com/t/msmq-integration/16958/13 "2020-02-11T14:19:08Z")

</div>

Hi Barry,

We used your plugin and installed ActiveGate in one new host, we have not installed OneAgent into that host. Provided all required details of another host like server name and queue name and Copied Plugin files into “C:\Program Files\dynatrace\remotepluginmodule\plugin\_deployment” location. After that we are getting an error as below screenshot.

 ![23570-1581430543590.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/6/d6c15179a925ba8ab802b22b09b05695d00aa9a8.png)

Could you please tell me what is the issue? If we missed anything? Tell me how to debug if we face any issues like this in future?

Do we required to install OneAgent into that newly configured host ?

Do we need to install ActiveGate where all the queues are running in that server or different server is also fine?

---

<div class="post-metadata">

**Author:** ![siddhi\_parkar](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@siddhi\_parkar](https://community.dynatrace.com/u/siddhi_parkar)\
**Post date:** [July 8, 2020, 11:12am UTC](https://community.dynatrace.com/t/msmq-integration/16958/14 "2020-07-08T11:12:56Z")

</div>

Hi [@Barry L.](https://answers.dynatrace.com/users/22537/view.html)

Thank you for uploading plugin…I am trying to run this plugin but it does not work..its getting below error…could you please help me to resolve this..

 ![25605-1594206583629.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/746bbe28e9393506470880da16758f9f6a02d58a.png)
