TCP synthetic monitor connects to the target IP address on a given port and monitors the time taken for the connection.

Configure Parameters of TCP Synthetic Monitor

After selecting the synthetic monitor type to TCP, enter the follwoing details:

SectionField NameDescriptionValues/ExampleField Type
TCP ConfigurationHostEnter the IP address/host name of the synthetics. It should be accessible from Gateway.
  • 10.1.2.3
  • www.google.com
Text
validateSSLEnable to validate the SSL.Checkbox
Connection Timeout (seconds)Maximum time-out to connect to the TCP server.
  • Default value: not NULL
  • Valid values: 1 - 540 seconds
  • Example: 280
String
PortEnter the port number of the TCP server to communicate with OpsRamp's endpoints. It should be accessible from Gateway.
  • Default value: 0
  • Valid values: 0 - 65535 seconds
  • Example: 25
String
Response Should ContainResponse body should contain specific content. Check the presence of any text in the response of the URL.
  • Default value: empty string
  • Valid values: Alphanumeric characters, underscore (_), pound (#), period (.), less than (<), greater than (>), and spaces.
  • Example: testing_123
String
Response Should Not ContainResponse body should not contain specific content. Check the absence of any text string in the response of the URL.
  • Default value: empty string
  • Valid values: Alphanumeric characters, underscore (_), pound (#), period (.), less than (<), greater than (>), and spaces.
  • Example: 123 # name_ < string >
String
Message To sendThe command or message that is sent to the server.
  • Default value: empty string
  • Valid values: Alphanumeric characters, underscore (_), pound (#), period (.), less than (<), greater than (>), and spaces.
  • Example: 1234
String
LocationsPublic LocationsSelect the public locations where the monitor will run.INT Public1Checkbox
Private LocationsSelect the private locations where the monitor will run.INT Private1Checkbox

After configuring, navigate to Infrastructure > Resources > Web Services > Synthetic to view the metrics and graphical representations for more information.

Metrics Graphical Representation

Graphical Representation

Supported Metrics

Metric NameDescriptionUnits
availability.down.location.countLocation Count. Number of locations where the configured host is down.-
synthetic.response.timeResponse time. Time taken to connect to the port of the target TCP server.milliseconds