Configuring the agent by using the silent response file

Use the silent response file to configure the agent without responding to prompts when you run the configuration script. You can use the silent response file for configuring the agent on both Windows and Linux systems.

About this task

The silent response file contains the agent configuration parameters. You can edit the silent response file to modify the values of these parameters, and run the silent configuration script to create an instance and update the agent configuration values. This mode of configuration is called the silent mode. You can use the silent response file for configuring the agent on both Windows and Linux systems.

Procedure

  1. In a text editor, open the response file that is available at the following path: For Linux platform, install_dir/samples/couchdb_silent_config.txt For Windows platform, install_dir\samples\couchdb_silent_config.txt Where install_dir is the installation directory of the CouchDB agent.
  2. In the response file, specify a value for the following parameters:
    • For the IP Address parameter, specify the IP address of a CouchDB server that you want to monitor.
    • For the Port number parameter, specify a port number. The default value is 5984.
    • For the User name parameter, enter the user name.
    • For the Password parameter, enter the user password.
    • For the Re-type Password parameter, enter the user password again.
    • For the Java home parameter, retain the default path if Java is installed at this path. Otherwise, enter the correct path. The Java is available at the following default path: For Linux platform, /opt/ibm/java-x86_64-70/jre For Windows platform, C:\IBM\APM\java\java70_x64\jre
    • For the Java trace level parameter, retain the default value as Error.
  3. Save and close the response file, and run the following command to update the agent configuration settings: For Linux platform, install_dir/bin/couchdb-agent.sh config instance_name install_dir/samples/couchdb_silent_config.txt For Windows platform, install_dir\BIN\couchdb-agent.bat config instance_name install_dir\samples\couchdb_silent_config.txt Where instance_name is the name that you want to give to the instance, and install_dir is the installation directory of CouchDB.

    Note: Make sure to include the absolute path to the silent response file. Otherwise, no agent data is displayed in the dashboards.

  4. Start the agent using the following command: For Linux platform, install_dir\bin\couchdb-agent.sh start For Windows platform, right-click Monitoring Agent for CocuhDB and then click Start.

##What to do next