14 Feb 2019
10:10 AM
- last edited on
13 Dec 2021
09:55 AM
by
MaciejNeumann
Hi Guys
how do i turn on debugging for JMX metrics collection on dynatrace managed because i did create a JMX Plugin for Oracle weblogic domain.
Thanks
Solved! Go to Solution.
14 Feb 2019 11:30 AM
You cannot set any debug for JMX collection. Some information is written in the log of the agent (basically in the java directory of oneagent logs) since the JMX data collection happens in the monitored Java process itself.
But I agree it can be frustrating. Wait for Dynatrace Managed 1.162 (end of february) which should already have JMX Plugin Editor which is amazingly helpful.
14 Feb 2019 12:08 PM
So how do i get the jdbc connection pool without creating a json plugin for weblogic domain?
14 Feb 2019 01:03 PM
You can't. I'm just saying it is much easier to create the plugin with the JMX Plugin editor as it will generate a proper plugin JSON file. You can browse real JMX MBeans and you can't make a typo in selecting MBeans and you can also validate those MBeans exists on monitored processes.
14 Feb 2019 01:27 PM
So any alternative of creating it because i created a json file and validated it with the monitored processes. The attribute and the domain are okay ,the plugin is detected by the processes but doesn't return the metrics specified on the plugin.
14 Feb 2019 03:00 PM
Yes, the debugging is limited at the moment anyway. I would try to connect to the process using jconsole or jmxterm to validate if those mbeans really do exist on the monitored processes first.