All Apps and Add-ons

Configure JMX to provide queue utilization information for ActiveMQ

robinson
Path Finder

We installed and configured jmx for splunk to help track java resource utilization in our application. among other things, we want to monitor utilization of ActiveMQ queues. The documentation suggests we can configure config.xml to provide Queue information only out of the activemq package with a stanza like this:

Unfortunately, this results in NO records for the org.apache.activemq domain getting indexed. We successfully index records from the domain in question with this stanza:

However, this results in jmx getting more records indexed into splunk than the rest of my installation combined. This blows my indexing quota. Please help!

Damien_Dallimor
Ultra Champion

You have typos in your MBean declaration.Property keys are case sensitive.

<mbean domain="org.apache.activemq" properties="BrokerName=default,Type=Queue,Destination=*" dumpAllAttributes="true"/>

alt text

Damien_Dallimor
Ultra Champion

please accept the answer then.

robinson
Path Finder

thanks for that answer. this addressed my issue brilliantly.

0 Karma

renems
Communicator

It seems like you don't get any output at all for your Active MQ queues. That it's not even there while you dump all attributes, is confirming this. Since you don't get any output, it makes sense it isn't indexed in splunk. I suggest posting in the apache forum how to get your activeMQ JMX data first.

0 Karma

Damien_Dallimor
Ultra Champion

see my answer. you have not configured your mbean object name correctly.if you configure the name correctly , you'll get just the information you require without sucking every bit and byte from the parent mbean domain.

0 Karma

robinson
Path Finder

thanks for your response, but you have misunderstood the problem. i had hoped it would be clear from my original post that the main issue here is that when i dump all attributes for properties=* i get more data than i can handle, in the sense that my license quota gets exceeded.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...