View Source

The Linux Agent installer automatically sets default parameters for the configuration file located in:

{code}/usr/sbin/r1soft/conf/agent_config{code}

After making changes to this file you need to restart the Agent daemon. To restart the Agent use:
{code}# /etc/init.d/cdp-agent restart{code}

h3. Agent Configuration Options

|| Option Name || Default Value || Description ||
| *ConfDir* | {color:#0000ff}/usr/sbin/r1soft/conf{color} | Configuration directory path. |
| *LogDir* | \\ | Directory where the Agent saves its log files. |
| *BindTo* | 0.0.0.0 all IPs | CDP Agent will listen for requests on this IP. Default is 0.0.0.0, meaning the Agent accepts connections on any IP address configured on your Linux Server. |
| *LocalPort* | 1167 | TCP port the CDP Agent will listen on. |
| *PidFile* | {color:#0000ff}/var/run/buagent.pid{color} | File to which CDP Agent will write its process identifier for {color:#0000ff}/etc/init.d/cdp-agent{color} to shut it down. |
| *LockFile* | {color:#0000ff}/var/run/buagent.lock{color} | CDP Agent lock file. Prevents multiple Agents from starting at the same time. |
| *IPAuthentication* \\ | 0 \\ | If set to 1, the Agent looks for a file in the {color:blue}server.allow{color} directory matching the IP address of an incoming connection before performing RSA Key authentication. The new default as of Linux Agent 1.56 is "No." This means the Agent will only perform RSA Key authentication and will not check the source IP address of the connecting CDP Server.  \\
*Recommended Setting:* RSA Key authentication is VERY strong and is just like using SSH with RSA or DSA key authentication (authentication without a password). For added security, you can have the Agent check that the source IP address of the connecting CDP Server attempting to authenticate is a configured IP address in the /etc/buagent/server.allow directory which contains CDP server RSA public keys named with the source IP address of the CDP Server. |
Run the following command to list all configuration options:

{code}#cat /usr/sbin/r1soft/conf/agent_config{code}
or
{code}#less /usr/sbin/r1soft/conf/agent_config{code}

!agent-config.png!\\ {excerpt:hidden=true}Instructions on how to change Linux Agent configuration: configuration directory path, log path, IP address to listen to, TCP port, PID file, lock file, IPAuthentication parameter. Description of CDP Agent configuration options. {excerpt}
\\ \\