# AMQ Artemis monitoring

**URL:** <https://community.dynatrace.com/t/amq-artemis-monitoring/21016>\
**Category:** Extensions\
**Tags:** jmx, extensions\
**Created:** [December 9, 2020, 4:00pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016 "2020-12-09T16:00:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [December 9, 2020, 4:00pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/1 "2020-12-09T16:00:10Z")

</div>

Hi, does Dynatrace monitor any queue from AMQ Artemis?

Even if, while configuring the jmx plugin via Webui, I can see the addresses, queues and broker in the end the plugin itself doesn’t show any data.

I’m fully aware that a standard plugin exist ActiveMQ JMX and even this one doesn’t work ootb for my artemis AMQ.

Any suggestion would be appreciated!

Thank you

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [December 10, 2020, 9:57pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/2 "2020-12-10T21:57:39Z")

</div>

Hi Yann B.,

Yes, Dynatrace does support monitoring of ActiveMQ. List of collected metrics available on the following page:

> **[Apache ActiveMQ Classic extension](https://docs.dynatrace.com/docs/observe/infrastructure-observability/extensions/activemq)**
>
> Deliver smart, automated observability for ActiveMQ with trace and metric insights.

With OneAgent in full-stack mode on your consumer/producer applications, you will also be able to see queue listener and messaging services: [Service Detection v1 — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/service-detection#messaging-and-queueing)

Regards,

Andrew M.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [December 11, 2020, 9:40am UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/3 "2020-12-11T09:40:35Z")

</div>

Hi,

as mentionet above I’m aware of this plugin but, since this is not working out of the box in my environment and the AMQ are specifically from Artemis and are managed by a tool called AMQ Broker I was wondering if there was any problem in monitoring those specific kind of queue

(more on the subject I’m creating JMX plugin without any success till now)

regards

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [January 27, 2021, 9:52pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/4 "2021-01-27T21:52:19Z")

</div>

Hi Yann,

I am working on an Dynatrace JMX extension for Artemis MQ, as the Mbeans differ from the Classic ActiveMQ. Stay tuned.  
Andrew M.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [March 18, 2021, 3:26pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/5 "2021-03-18T15:26:39Z")

</div>

Hi, I know it’s been a long time, but with Dynatrace the more people see it the more people want it and I was literally kidnapped by everyone! 😄

I have some news for you: I had the problem of not seeing the amq queue from Red Hat AMQ broker and I was not in control of the product itself so I had to rely on feedback from other teams.

After reviewing the Red Hat product documentation (in witch I’m not an expert) I found a document that said that in order to enable jmx publishing the admin of the product had to insert this line at the startup of the process:

-Dcom.sun.management.jmxremote

So I went into Dynatrace, I saw that the parameter wasn’t in the start up command line of the process and the admin was asked to insert it.

After that everything was visible out of the box (as you were expecting and experiencing) [with the custom jmx plugin]

Also Dynatrace help doc. said it in the prerequisite but of course the doc. cannot point specifically on various usecases.

Sooo, thanks again for the answer and the support you provided in this thread 🙂

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [March 22, 2021, 12:59pm UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/6 "2021-03-22T12:59:12Z")

</div>

Hi, I was researching a little bit more and seems that this guy already did the job:

> **[GitHub - vegardit/activemq-artemis-dynatrace-plugin: Custom Dynatrace JMX plug-in for ActiveMQ Artemis...](https://github.com/vegardit/activemq-artemis-dynatrace-plugin)**
>
> Custom Dynatrace JMX plug-in for ActiveMQ Artemis broker processes.

If you have a lot of queue you’ll spent a lot of DDU!

Bye

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [June 1, 2021, 3:59am UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/7 "2021-06-01T03:59:31Z")

</div>

Hi [@y\_buccellato](https://community.dynatrace.com/user/4804) ,

I built an extension for both the embedded RedHat JBoss activemq subsystem (based on Artemis) and another for the Artemis standalone server.

**No Dynatrace JMX extension** should ever require the remote JMX to be enabled, as we do not connect to a remote port. However, why that may be required on your app server may depend on how the particular Java app/container was written (for example, maybe only certain statistics counters become enabled implicitly with the remote JMX&nbsp;switched to on).

Dynatrace collects metrics locally as it is bound to the process code. The problem here is that some software projects are now looking at hardening the local access to JMX, so even if you don’t use remote JMX, then potentially user/password or similar security options may be enforced (and so it restricts local access to particular Mbeans).

---

<div class="post-metadata">

**Author:** ![The\_AM](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@The\_AM](https://community.dynatrace.com/u/The_AM)\
**Post date:** [June 1, 2021, 4:02am UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/8 "2021-06-01T04:02:20Z")

</div>

In particular, for RedHat Artemis embedded, you will need to enable the statistics collection for that subsystem.

Source:

> **[Chapter 33. Monitoring Messaging Statistics | Configuring Messaging | Red Hat...](https://docs.redhat.com/en/documentation/red_hat_jboss_enterprise_application_platform/7.2/html/configuring_messaging/messaging_statistics)**
>
> Chapter 33. Monitoring Messaging Statistics | Configuring Messaging | Red Hat JBoss Enterprise Application Platform | 7.2 | Red Hat Documentation

---

<div class="post-metadata">

**Author:** ![ipintogo](https://avatars.discourse-cdn.com/v4/letter/i/57b2e6/32.png) [@ipintogo](https://community.dynatrace.com/u/ipintogo)\
**Post date:** [May 19, 2024, 1:46am UTC](https://community.dynatrace.com/t/amq-artemis-monitoring/21016/9 "2024-05-19T01:46:01Z")

</div>

Hi,

I have the same issue, I’m using the followin version of the Red Hat AMQ product:

[amq-broker@vm-redhatamq7-solisticaone-dev bin]$ ./artemis version  
Apache ActiveMQ Artemis 2.28.0.redhat-00004  
ActiveMQ Artemis home: /opt/redhat/amq-broker/apache-artemis-2.28.0.redhat-00004  
ActiveMQ Artemis instance: null

But, could you tell me plaase all the details that you use to solve the monitoring issue:

- what you change in the Red Hat AMQ startup process

- What extension you install in Dynatrace

- etc.

Thanks for your help!
