Pricing Try it now
Community Edition
Getting Started Documentation Guides Installation Architecture API FAQ

Java JMX monitoring tool

Monitor the Sentient Java application

To monitor Sentient application we will use the Visual VM The JMX have been enabled in docker-compose.yml with this line

1
JAVA_OPTS: " -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.rmi.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=127.0.0.1"

Let’s forward JMX port from Sentient instance to the local machine

1
ssh -L 9999:127.0.0.1:9999 sentient 

Now we can connect with VisualVM to the Sentient application and discover the internals

Sentient JMX overview with VisualVM