Configure the Java Agent
Configure the Java Agent to report metrics to a specific Controller:
- Change to
<agent_home>/conf/
. - Edit the
controller-info.xml
file so that the values for the following elements match your Controller information, application name, tier name, and node name:-
<controller-host>
<controller-port>
<application-name>
<tier-name>
<node-name>
-
- For example, your controller-info.xml
<controller-info> <controller-host>192.168.1.20</controller-host> <controller-port>8090</controller-port> <application-name>SyntheticServer</application-name> <tier-name>SchedulerTier</tier-name> <node-name>SchedulerNode</node-name> </controller-info>
Note: You must ensure that the application name, tier name, and node name are the same as thejavaagent.jar
parameters when you attach the Java Agent to the Synthetic Server.