Related Documentation : Cache Server User Guide : Monitoring the Cache Server : Remotely Monitoring the Standalone Server with JMX
Remotely Monitoring the Standalone Server with JMX
The standalone server automatically exposes the MBeanServer on a port 1 higher than the HTTP listening port.
To connect with JConsole, simply fire up JConsole, enter the host in the Remote field and port. In the above example that is
Then click Connect. To see the Ehcache MBeans, click on the Mbeans tab and expand the net.sf.ehcache tree node. You will see something like the following.
CacheStatistics MBeans in JConsole
Of course, from there you can hook the Cache Server up to your monitoring tool of choice. For more information, see “JMX Management and Monitoring” in the Ehcache Operations Guide.
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback