Set Up the Network and App Agents on Linux
Network Agent and Java Agent Installation Instructions
If you are using | then |
---|---|
Network Agent >= 4.5.7 and Java Agent >= 4.5.11 | Install the Network Agent. |
Network Agent >= 4.5.7 and Java Agent <= 4.5.10 |
Install the Network Agent in a multi-tenant setup or a single tenant setup. You do not need to manually enable the netlib |
Network Agent <= 4.5.6 |
Install the Network Agent in a multi-tenantsetup or a single tenant setup. You need to manually enable the netlib parameter during the multi-tenant setup. |
Java App Agent <= 4.4 | Update the Java Agent. |
Multi-Tenant Setup (Multiple Apps on the Agent Host)
If you want the Network Agent tomonitor multiple app nodes on the same host, you perform the following steps for each App Agent.
Enable Netlib on the Network Agent (Optional)
netlib
parameter manually as described in the following steps.To enable Netlib on the network agent:
Install or Update the App Agent (If Needed)
The Network Agent requires Java App Server Agent >= 4.4. Update each App Agent that is running an earlier version. See Install the Java Agent.
Extract the NetViz External Services Folder on the App Agent
- Navigate to the folder:
<app-agent-install-dir>/<version-number>/external-services
. - If not already extracted, extract the
netviz.zip
archive so that the ZIP contents are under this folder:<app-agent-install-dir>/<version-number>/external-services
.
Preload NetLib and Enable Socket Collection on the App Agent
The following examples illustrate how editing the Agent startup command can differ, depending on the framework of the monitored application. See Agent Installation by Java Framework and its relevant framework documentation.
Framework | Example (App Agent ZIP) |
---|---|
IBM WebSphere and InfoSphere | In the WebSphere/InfoSphere UI, navigate to the Java Virtual Machine properties page for the monitored server. Then add
You can add
You can add
|
Apache Tomcat |
Add the full command as a Catalina environment variable in file
|
Glassfish |
Add the full command as a
|
JBoss Standalone |
Add the full command to the
|
Jetty |
For a standalone Jetty using
For service with embedded Jetty:
|
To verify that the App Agent is running correctly, enter:strings /proc/<app_pid>/environ
Specify the Docker Host Gateway IP on the App Agent
Docker Host network.
To specify the docker host gateway IP on the app agent:
Restart the App (IBM JVM Only)
Single-Tenant Setup (One App Only on the Agent Host)
If you want the Network Agent to monitor one app node only on the same host, perform these steps:
Install or Update the App Agent (If Needed)
The Network Agent requires Java App Server Agent >= 4.4. Update each App Agent that is running an earlier version. See Install the Java Agent.
Extract the NetViz External Services Folder on the App Agent
- Navigate to the folder:
<app-agent-install-dir>/<version-number>/external-services
. - If not already extracted, extract the
netviz.zip
archive so that the ZIP contents are under this folder:<app-agent-install-dir>/<version-number>/external-services
.
Enable Socket Instrumentation
Specify the Docker Host Gateway IP on the App Agent
Docker Host network.
To specify the docker host gateway IP on the app agent: