Create TCP Synthetic Tests¶
TCP Synthetic Tests are used to monitor the TCP connectivity of host ports, ensuring the availability of critical services (such as SSH (22), SMTP (25), DNS (53), VPN over HTTPS (443)) and other custom ports. Through response time data, you can track the performance of network applications and discover all gateways on the path to the target host via the route tracing function.
Create¶
Click Create > API Tests, select TCP Protocol.
Step 1: Define Request Format¶
- Host: Supports entering host address and port. The host address can be a domain name (e.g.,
www.example.com) or an IP address (e.g.,192.168.0.1). The default port is443. - Name: Custom TCP Synthetic Tests task name, which must be unique within the current workspace.
- Route Tracing: When enabled, the route tracing probe (
traceroute) will be activated to discover all gateways on the path to the target host (❗️The default timeout per hop for route tracing is 500ms).
Step 2: Availability Judgment¶
You can add judgment conditions to match data based on filter criteria. When multiple judgment conditions are selected, you can define the logical relationship as AND or OR using "All" or "Any".
After defining the request format and adding judgment conditions, click the Test button on the right side of the URL to verify if the Synthetic Tests connection configuration is successful and to return the route tracing results (if relevant conditions are configured).
Note
- If "Network Hops" is selected as a judgment condition, the system will return route tracing data, similar to enabling the Traceroute function.
- The test results are independent of the selected Synthetic Tests nodes.
Step 3: Select Synthetic Tests Nodes¶
Currently, TrueWatch covers 14 Synthetic Tests nodes globally. You can select one or more nodes in China or overseas regions (available only to Commercial Plan users and above) to quickly start monitoring site service quality.
Step 4: Select Synthetic Tests Frequency¶
Select the execution frequency for the Synthetic Tests task. The following options are supported: - 1 minute (available only to Commercial Plan users and above) - 5 minutes (available only to Commercial Plan users and above) - 15 minutes (available only to Commercial Plan users and above) - 30 minutes - 1 hour - 6 hours - 12 hours - 24 hours
In addition to the specific options provided by the system, you can also input a custom crontab task to configure scheduled task execution based on periods such as minutes, hours, days, months, weeks, etc.
