Collecting JVM KPIs

Set JMX credentials in the database to enable JVM KPI collection.

1 min read Updated SS

You can provide authentication for JMX collection only for newly created component instances.

Execute the following queries on Percona DB for the same:

UPDATE `appsone`.`comp_instance_attribute_values` SET `attribute_value`='<JMXUsername>' WHERE attribute_name="JMXUsername" and comp_instance_id=<comp_instance_id>;
UPDATE `appsone`.`comp_instance_attribute_values` SET `attribute_value`='<EncryptedJMXPassword>' WHERE attribute_name="JMXPassword" and comp_instance_id=<comp_instance_id>;

After executing these queries, JMXUsername and JMXPassword get added to the agent-details.json file.

Execute these queries separately for each of the component instances.

If these queries are not executed, JVM KPIs are collected without authentication if authentication is not necessary. If authentication is required and these queries are not executed, then these JVM KPIs do not get collected.