[DEPRECATED] Configuration using configuration file(s)
Editable only by contributors.
Up to version 1.6.7 inspectIT uses configuration file to define the configuration options of the Agent. This section provides more information on how to configure the agent using configuration files.
If you are using inspectIT version 1.6.8 and above, please navigate to Configuration basics.
Configuration based on a configuration file
The agent is configured by a simple configuration file. Within this configuration file settings like the Agent name, the CMR location and the sensors to be integrated are defined. This file is the most important piece of configuration within inspectIT as it allows the user to define what information will later be provided in the graphical user interface. The configuration file must be called inspectit-agent.cfg.
The location of this file is specified as JVM property during the startup of the application. More information is found in the Installation Guide. Lines starting with # are ignored.
Brief overview of the configuration elements
The following table describes the possible configuration settings of the agent configuration at a glance. For more details, please navigate to the detail pages. The ordering of the configuration elements is completely free. Best practice is to define the global settings and sensor type definitions at the top of the configuration file. It is also possible to use multiple configuration files to make the configuration better readable.
Section | Description | Configuration |
---|---|---|
The repository setting defines the location of the CMR the data should be sent to. | repository IP port agentname | |
Definition of the strategy used to send data to the CMR | send-strategy strategy options | |
Definition of the strategy used to buffer data to be sent to the CMR | buffer-strategy strategy | |
Definition of the sensor types (used for platform and method sensors) | method-sensor-type fqn options | |
Assignment of sensor types to methods. This is the most important part of the configuration | sensor sensorname class method options |
Sample configuration and Sample projects
This documentation also provides a Sample configuration file and complete Sample projects that provide hands-on information about possible agent configuration.
GA enabled