Openfire JMX → HTTP Bridge

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.

What this server provides

Primary endpoints

Assuming the plugin is mounted at / on your Openfire admin webserver, typical endpoints are:

Example usage

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.

Configuration

The Openfire admin console can be used to configure this bridge.

Authentication & Authorization

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.