JMX is a Java technology used for managing and monitoring Java processes. Openfire uses it mainly to expose low-level statistic. This webserver exposes Openfire's JMX MBeans over HTTP (JSON) using a Jolokia-compatible API surface. It is intended as a minimal, maintenance-friendly bridge so monitoring tools and HTTP-only environments can read JMX data without direct JMX connections.
Assuming the plugin is mounted at / on your Openfire admin webserver, typical endpoints are:
GET / - This index page (you are here).POST /jolokia/ - Jolokia JSON POST API (bulk/read/exec requests).GET /jolokia/read/<mbean>/<attribute> - Jolokia read by path (simple GET).GET /health - Health/status endpoint returning a minimal JSON payload (plugin alive, Jolokia available).GET /version - Plugin version and brief runtime info.Basic read of an MBean attribute using curl (GET):
curl -u admin:secret \
"https://example.org:9291/jolokia/read/org.igniterealtime.openfire:type=Statistic,name=sessions"
GET-style Jolokia request that reads multiple attributes in one call:
curl -u admin:secret \
"https://example.org:9291/jolokia/read/org.igniterealtime.openfire:type=Statistic,name=*"
Refer to the Jolokia protocol documentation for additional details.
The Openfire admin console can be used to configure this bridge.
This bridge must be treated as sensitive: it exposes internal runtime state. Recommended deployment practices:
Important: Do not enable anonymous access to the Jolokia endpoint. By default, the plugin should require authentication.