Descripton
After ticket
Jira Legacy | ||||||
---|---|---|---|---|---|---|
|
For this purpose the CMR with Agent run configuration will be available and should be used when self-monitoring is needed.
The general idea is that CMR that is being monitored sends data to it self. Basically only one CMR needs to be started with the Agent and that's it. Although the Agent will fail to connect initially to the CMR, after the CMR has been started the Agent will be able to connect.
Process
Simply start the CMR with Agent run configuration. Make sure that the agent is built and available.
Info | ||
---|---|---|
| ||
It might be possible that the Agent reports some kind of exceptions while running on the CMR, but these do not influence the monitoring. Examples: Mrz 07, 2014 2:23:29 PM info.novatec.inspectit.agent.sensor.method.invocationsequence.InvocationSequenceHook addObjectStorage |
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 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
Configuration
Currently this configuration is defined:
...