Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is possible to monitor the CMR with another CMR. The first one should be an installed Version (at least the two inspectIT instances are not allowed to have the same workspace) and the second can be started from Eclipse. Running both CMRs from the same Eclipse will not work.

Process

  1. Install inspectIT on you computer, i.e. the most recent version from Github. Lets call this inspectIT "Monitor inspectIT".
  2. Start the Monitor inspectIT CMR without any specific start parameter.
  3. Import the Configuration which can be found in the inspectIT code under "inspectIT\resources\monitoring\CMR-Monitoring-Import-Data.xml". It is called: CMR [self monitoring].
  4. Ensure that the Agent Mapping is setup corretly that new Agents will use this Configuration under Agent Mapping Settings.
  5. Switch to the inspectIT Version In Eclipse which should be monitored. Lets call this inspectIT "ToTest inspectIT".
  6. Change the file inspectit.server\src\main\external-resources\config\default.xml: Change jetty.port to i.e. 8183 and the cmr.port to i.e. 9071.
  7. Start the CMR with the launch Script "CMR with Agent". Change the -javaagent path to the path of the Agent of the "Monitor inspectIT".
  8. When the second CMR is started you can monitor a application which buts load on the "ToTest CMR"this one by putting load on it with another application.
  9. Ensure that the application that is monitored with the "ToTest inspectIT" uses the agent build by this inspectIT version and not from the "Monitor inspectIT" (In case they have not the same version). Further the monitored agent must add the cmr.port of the "ToTest CMR", i.e. -Dinspectit.repository=localhost:9071

...