Grabbed the example Tomcat JDBC JMX plugin from git hub: https://github.com/Dynatrace/JMX-Extensions/tree/m...
Uploaded it, and it doesn't seem to even be running. Feels like I'm missing something super simple. I can't find the metrics anywhere in process metrics/jmx metrics, where I'd expect to see the charts written in the plugin.
Any help is appreciated.
Thanks in advance,
Solved! Go to Solution.
Could someone list the prerequisites to using the JMX plugin?
I tried to use it and it does not work at all for me.
When I tried to understand why, I realized that I could not connect the jconsole to my Tomcat process locally. The Tomcat Windows service is launched using a specific user, and I read somewhere that the jconsole has to be launched using the same user to be able to "see" the tomcat processes, so I guess that's why the jconsole is not working.
Does Dynatrace have to be launched using the same user also?
This is how I could do it:
1.- Use JMX/PMI extension editor. Specify a name,
2.- Click on "add metric source"
3.- Technology: Apache Tomcat
4.- Click on the pencil for the suggested source
5.- Specify a host and tomcat process that you know (verify first) has a service that uses a ddbb
6.- Click "Add metrics source"
7.- Click "Add Metric"
8.- For Domain select Catalina
9.- Now in the filter bar select "type"
10.- Select DataSource
11.- Now, go to the "Select atribute" list, and select maxActive or numactive.
Good luck anybody.