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 192.168.1.108:8686.
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.