9.81.6.1 MIM Agent Preparations

There are various preparations that you need to make to be able to use the MIM agent to show metrics in System Insight.

  1. If you want to enable the option to select and deselect which profiles that you want the MIM agent to create statistics from in the MIM agent configuration, set the property mz.mimagent.update.enable to true in the client.conf, see 2.4.2 Updating Pico Configurations, or in Configuration tab of the Desktop instance if you are using Desktop Launcher, see 1.1.1.3 Updating Instance Settings. Otherwise, you can only configure the relevant profiles from the Advanced tab of each profile, as described in step 3. The default value of this property is false.

    If you want to retain the default behavior, go to step 2.


  2. If you do not already have your chosen database and visualization tool for System Insight running, start them at this point. 

  3. You have two options on how to log Couchbase statistics. In the Advanced tab of the relevant Couchbase profile, you must set the property mz.cb.statistics.class to com.digitalroute.mimexposer.statistics.MemDbStatistics or com.digitalroute.mimexposer.statistics.FileDbStatistics. If you set the property value to com.digitalroute.mimexposer.statistics.MemDbStatistics, you can use the MIM agent to send statistics to System Insight. If you select com.digitalroute.mimexposer.statistics.FileDbStatistics, you can use the MIM agent to send statistics to System Insight or you can log the data to file. For more information on logging data to file, see the section Logging Couchbase Statistics in 8.5 Couchbase Profile. 

  4. Create a workflow where you link the MIM agent to a processing agent, for example an Analysis agent. This is because a collection agent must be linked to another agent to be able to run a workflow. For information on configuring the MIM agent, see 9.81.6.2 MIM Agent Configuration.Â