Socket configuration
After you add a socket data source to your agent, you can configure the agent to accept data from a specified socket port.
About this task
| Name | Valid values | Required | Description |
|---|---|---|---|
| Port number | 0 or any positive integer The default value is 0 |
Yes | The port that the agent uses to listen on for data from socket clients. A value of 0 indicates that an ephemeral port is to be used. |
The agent writes the value of the port that is being used to a file. Socket clients that run on the agent computer can later read this file to determine which port to connect to. The file that the port is written to is named kxx_instanceName_cps.properties, where: kxx is the three character product code of the agent and instanceName is the agent instance name for a multiple instance agent. If the agent is not a multiple instance agent, this part of the name is not included so the file name is kxx_cp.properties.
In Windows, the file is written to the %CANDLE_HOME%\TMAITM6 directory for 32-bit installations or %CANDLE_HOME%\TMAITM6_x64 for 64-bit installations. In UNIX, the file is written to /tmp.