...
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
- Install inspectIT on you computer, i.e. the most recent version from Github. Lets call this inspectIT "Monitor inspectIT".
- Start the Monitor inspectIT CMR without any specific start parameter.
- 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].
- Ensure that the Agent Mapping is setup corretly that new Agents will use this Configuration under Agent Mapping Settings.
- Switch to the inspectIT Version In Eclipse which should be monitored. Lets call this inspectIT "ToTest inspectIT".
- 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.
- Start the CMR with the launch Script "CMR with Agent". Change the -javaagent path to the path of the Agent of the "Monitor inspectIT".
- 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.
- 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
...