The JMX / HTTP Bridge exposes Openfire's JMX interface over HTTP, allowing external monitoring and management tools to access metrics and runtime information without requiring a direct JMX connection. This makes it possible to integrate Openfire with HTTP- or JSON-based monitoring systems, even in environments where traditional JMX access is restricted or unavailable.
plugins/ directory.plugins/ directory with the newer version.The plugin adds a configuration page to the Openfire Admin Console, which allows you to configure:
For this plugin to be useful, JMX support must be enabled in Openfire. This can be configured on the Server Information page in the Admin Console.
Once enabled, the bridge exposes JMX data over HTTP at the root context path (/) of the embedded webserver.
The interface is fully compatible with the Jolokia API.
Example endpoints include:
GET / - Plugin index page.POST /jolokia/ - Main Jolokia JSON endpoint.GET /jolokia/read/<mbean>/<attribute> - Read MBean attributes.GET /health - Simple health check.GET /version - Version and runtime info.Example usage with curl:
curl -u admin:secret \
"https://example.org:9291/jolokia/read/org.igniterealtime.openfire:type=Statistic,name=sessions"
The Jolokia API is versatile and supports operations such as reading and writing attributes, invoking operations, and listing all available MBeans. Refer to the Jolokia documentation for detailed usage examples.