Splunk AppDynamics

JMX Metrics on JBoss 6.4 not reporting

CommunityUser
Splunk Employee
Splunk Employee

Trying to get the JMX metrics for Datasources to show up in AppD Controller.

I can use JBoss's new CLI interface to see them in jConsole, but other than that I am having no luck.

Has anyone successfully setup AppD to monitor JMX in JBoss 6.4 or higher?

Labels (1)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Issue was these jvm args on the jboss startup was hiding the JMX tree from AppD.

<jvmarg value="-Dcom.sun.management.jmxremote"/>
<jvmarg value="-Dcom.sun.management.jmxremote.port=#####"/>
<jvmarg value="-Dcom.sun.management.jmxremote.local.only=false"/>
<jvmarg value="-Dcom.sun.management.jmxremote.authenticate=false"/>

Also, AppD has a MachineAgent plugin that can assist in accessing the JMX args although I was unsuccessful in getting that plugin to function locally.

View solution in original post

Atyuha_Pal
Contributor

Hi  msprague,

Could you please add the below node property 

Name: discover-mbeans
Description: discover-mbeans
Type: Boolean
Value: true

After adding the above property allow the application to run for 5-10mins. The node property will discover all mbeans being exposed and write them into files under location <AGENT_RUNTIME_DIR>/conf/<nodeName>/discovered-mbeans. Please attach the complete 'discovered-mbeans' directory along with the complete agent log directory.

Thanks,

Atyuha

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Issue was these jvm args on the jboss startup was hiding the JMX tree from AppD.

<jvmarg value="-Dcom.sun.management.jmxremote"/>
<jvmarg value="-Dcom.sun.management.jmxremote.port=#####"/>
<jvmarg value="-Dcom.sun.management.jmxremote.local.only=false"/>
<jvmarg value="-Dcom.sun.management.jmxremote.authenticate=false"/>

Also, AppD has a MachineAgent plugin that can assist in accessing the JMX args although I was unsuccessful in getting that plugin to function locally.

Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...