Adding or changing the connection to the proxy server

After you install the data collector, you can add a connection to a proxy server or change the existing connection to the proxy server.

About this task

The data collector supports proxy servers that don't use authentication and ones that use basic authentication.

Procedure

  1. Go the directory where you downloaded and extracted the data collector files.
  2. Choose one of the following options:
    • On Windows, run configureProxy.bat
    • On AIX® and Linux®, run configureProxy.sh
  3. Type Yes to add or change the connection to the proxy server, and then type the host name and port number for the proxy server.
  4. Type Yes to authenticate the connection with the proxy server, and then type the user name and password.
  5. Optional: Add the certificate file for your proxy server to the keystore that is provided with the data collector. To add the certificate file, run a command similar to the following example:
    data_collector_dir/jre/bin/keytool -importcert -noprompt -trustcacerts 
    -alias your_certificate -file path_to_certificate 
    -keystore "data_collector_dir/jre/lib/security/cacerts" -storepass keystore_password
    The default password for the keystore is changeit.
  6. When the connection to the proxy server is verified, type Yes to save your changes.
    If the connection isn't verified, repeat steps 1-4 and ensure that you enter the correct information and that the proxy server is available.

Results

Your configuration changes are saved in the setup.properties file in the data_collector_dir/conf/ directory.

What to do next

Restart the data collector.