Log on to the environment where the ARMS agent is installed, and run the following command to check the network configuration of the current host. If the host uses multiple network interface controllers (NICs), the IP address obtained by the ARMS agent may be inconsistent with the actual IP address.
ifconfig -a
If multiple NICs are used, you can use one of the following methods to specify an IP address:
Configure the
-DEAGLEEYE.LOCAL.IP=[$IP]
parameter to specify an IP address for the ARMS agent.NoteThe
[$IP]
field specifies the actual IP address required during collection.Configure the
-DNETWORK.INTERFACE=[$Network_Card]
parameter to specify the NIC for the ARMS agent.NoteThe
[$Network_Card]
field specifies the name of the NIC.Example: If you are using Apache Tomcat, you need to add the preceding configuration after JAVA_OPTS in the {TOMCAT_HOME}/bin/catalina.sh file.