The monitoring plugin adds support for chat archiving and server statistics to Openfire. It provides support for generating various reports on the server statistics, as well as managing, viewing, and reporting on chat logs.
Copy monitoring.jar into the plugins directory of your Openfire installation. The plugin will then be automatically deployed. To upgrade to a new version, copy the new monitoring.jar file over the existing file.
Make sure that the enterprise plugin is removed before installing this plugin. Otherwise the enterprise plugin will rename the monitoring.jar to monitoring.jar.old thus removing thus plugin. If this happens just stop the server, remove the enterprise.jar plugin and rename monitoring.jar.old to monitoring.jar and start the server again.
If you are upgrading from the Enterprise plugin, and wish to keep your old statistics and logs, you will need to manually run some database scripts to perform the migration. Note, if you don't care about your previous statistics and chat logs, you don't have to worry about these steps.
First, you will need to shut down your Openfire server and remove the enterprise plugin. To do this, perform the following steps:
Chat archiving is enabled by default. However, only information about
who is communicating and at what time is stored unless chat transcript
archiving is enabled. To enable chat transcript archiving or group chat
archiving, you will need to log into the admin console and go to:
Server --> Archiving --> Archiving Settings