I am trying to run jmx_eporter as a separate process/java agent instead of adding it to cassandra-env.sh

105 views
Skip to first unread message

ASK45

unread,
Jun 13, 2020, 3:12:50 PM6/13/20
to Prometheus Users

java -javaagent:/opt/jmx_prometheus/jmx_prometheus_javaagent-0.13.0.jar=7070:/opt/jmx_prometheus/6.yaml -jar **/opt/jmx_prometheus/jmx_prometheus_javaagent-0.13.0.jar

no main manifest attribute, in /opt/jmx_prometheus/jmx_prometheus_javaagent-0.13.0.jar


what should -jar be for monitoring cassandra with a separate agent demon for Prometheus ?


java -javaagent:./jmx_prometheus_javaagent-0.13.0.jar=8080:config.yaml -jar yourJar.jar


what should yourJar.jar be for monitoring Cassandra?

I am trying to run jmx_eporter as a separate process/java agent instead of adding it to cassandra-env.sh, has anyone done this before? 

yagyans...@gmail.com

unread,
Jun 24, 2020, 3:27:42 PM6/24/20
to Prometheus Users
Hi ASK45,

Did you find a solution for this? Looking for the same thing. From what I have understood till now I think a standalone cassandra exporter has to be used if you are not willing to makes changes to your cassandra-env.sh.
Do let me know if you find any solution for monitoring cassandra using JMX Exporter without adding it to the cassandra-env.sh.
Reply all
Reply to author
Forward
0 new messages