We are trying to use JMx Exporter as an HTTP server for our Cassandra that runs on kebernetes as a daemond set.
We use this docker image: https://hub.docker.com/r/sscaling/jmx-prometheus-exporter/
In the logs we see an authentication error:
cassandra kubernetes SEVERE: JMX scrape failed: java.lang.SecurityException: Authentication failed! Credentials required
When disabling the authentication from Cassandra by "JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=false" it works fine.
Is there any way to get it work with the authentication?
How can I set user+psw in the exporter?
Should we use JavaAgent for it? we do not want to run exporter on each pod.
Can you share the steps for using JMX exporter.?