Configure the Machine Agent Properties
You can configure the Machine Agent by:
- Editing the
controller-info.xml
file located in the <machine_agent_home>/conf directory. - Adding Agent system properties (
-D<system_property>
) to the Machine Agent start-up script or on the command line. - Using environment variables. To configure the Agent with environment variables, set the value of the environment variable in the environment where the monitored application runs and restart the Agent. Environment variables exist for most of the Agent settings in the controller-info.xml file , but not all settings are configurable through environment variables. For those settings, you need to use system properties or
controller-info.xml
. See Machine Agent Configuration Properties.
The JVM system properties and environment variables override the settings in the controller-info.xml
- Environment variables
- System properties passed in the start command for the JVM
-
Global configuration file:
See Where to Specify Machine Agent Configuration for OS environment and install package details