TOSIT-IO / tdp-collection-extras

Ansible roles to deploy the extra components of TDP
Apache License 2.0
5 stars 13 forks source link

jmx and jmx-exporter configuration and authentification #203

Closed giem-git closed 3 weeks ago

giem-git commented 1 month ago

Configuration cleanup

In TDP, the jmx-exporter is configured as a javaagent (which is the recommended way) and communicates localy with the jmx (see jmx documentation here)

As such, only one option is needed for the jvm : -Dcom.sun.management.jmxremote. All other options are unneeded and should be deleted. These options are :

Likewise, the options ssl, username and password specified in the jmx-exporter configuration file are unused to communicate with a local jmx

Enabling ssl and authentification beetween prometheus and jmx-exporter.

Secure each jmxexporter configuration file