TCP Job

TCP (Transmission Control Protocol) is an IP protocol which provides reliable data delivery between systems.

The TCP job checks the remote system's availability by establishing a TCP connection, as well as measuring the amount of time spent on opening the connection.

If connection is successful, the tcp-check-status metric is set to 0, otherwise it is to one of the codes in the connection status table.

Collected Metrics

NameDescription
tcp-connect-statusConnection status.
tcp-connect-timeNumber of milliseconds spent on opening the connection.

In case of failure retests, the values for the above metrics are based on the last connection attempt.

Connection Status

StatusDescription
0Connection established successfully.
1Connection Error
2No Route To Host
3Unknown Host
4Socket Timeout
5Other Error

Job Configuration

FieldDescription
Configuration NameName of the configuration.
Default TCP PortDefault TCP port to which collector will be connecting,
unless a specific port is included in the remote system address.
Item ListCollection of remote system hostnames or IP addresses with an optional :{port} suffix, to be used instead of the default port.
Metric PrefixMetric prefix prepended to the collected metric names.
Default TagsPredefined series tags added to all series commands.
Request Timeout, secondsThe number of seconds the server will wait for the connection to open.
Failure RetestsNumber of attempts to re-establish the connection in case of failure.
Failure Retest Delay, secondsDelay between retry attempts in case of failure.

Configuration Example

TCP Configuration