cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

Infrastructure (Server, Network, Database)

JMX Metrics on JBoss 6.4 not reporting

msprague
Creator

JMX Metrics on JBoss 6.4 not reporting

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?

By replying you agree to the Terms and Conditions of the AppDynamics Community.
JMX Metrics on JBoss 6.4 not reporting
2 REPLIES 2
Atyuha.Pal
AppDynamics Team

Re: JMX Metrics on JBoss 6.4 not reporting

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



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
msprague
Creator

Re: JMX Metrics on JBoss 6.4 not reporting

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.