Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
06-14-2021 03:48 PM
Hi folks,
I'm trying to capture the State field of the JDBCConnectionPoolRuntime mbean, but I haven't been successful so far. Has anyone tried this? Is it possible to capture strings fields contained in mbeans?
Thank you so much
Carlos Coqueiro
Solved! Go to Solution.
06-15-2021 12:44 AM
Hi Angelo
Seeing as you need to collect metrics, you can't graph strings:)
I would suggest you use a getter chain in JMX like below for the state value you require
Metric Getter Chain: replaceAll(Running,1)
This way you can graph the different states with different integer values as well as create health rule on the values
Ciao
06-16-2021 08:19 AM
Hello Mario,
Thank you so much for your suggestion, worked! Another question, for each state I will have a different metric chain, correct?
Thank you so much again.
Ciao
06-16-2021 09:42 AM
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form