Jolokia agent for Cassandra

2.4k Views Asked by At

I'm usinig DataStax Cassandra service on Windows machine.

For browsing JMX Cassandra metrics I've chosen The JMX-to-HTTP tool called Jolokia (https://jolokia.org).

That's what I'm doing in order to attach jolokia agent to Cassandra:

  1. Put the jolokia-jvm-agent.jar in C:\Program Files\DataStax Community\apache-cassandra\lib folder
  2. Placed the following command at the end of cassandra-env.ps1 file (C:\Program Files\DataStax Community\apache-cassandra\conf\cassandra-env.ps1):

$env:JVM_OPTS = "$env:JVM_OPTS -javaagent:""$env:CASSANDRA_HOME\lib\jolokia-jvm-agent.jar"""

  1. Restarted the DataStax Cassandra Community Server

Unfortunately, nothing happened, Jolokia is not available via http: http://localhost:8778/jolokia/read/java.lang:type=Memory/HeapMemoryUsage

Could anyone to advice how to attache javaagent properly in my case ?

0

There are 0 best solutions below