Create TCP Testing Tasks¶
TCP Testing is used to monitor the TCP connections 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 using the route tracing feature.
Start Creating¶
Click Create > API Tests, and select TCP Protocol.
1. Define Request Format¶
- Host: Supports input of 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), with the port defaulting to443. - Name: Customize the TCP testing 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.
2. Availability Check¶
You can add judgment conditions based on filter criteria to match data. 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 whether the testing connection configuration is successful and 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 testing nodes.
3. Select Testing Nodes¶
Currently, Guance has covered 14 testing nodes globally. You can select one or more nodes in China or overseas regions (only for Commercial Plan and above users) to quickly start monitoring site service quality.
4. Select Testing Frequency¶
Choose the execution frequency of the testing task, with the following options supported:
- 1 minute (only for Commercial Plan and above users)
- 5 minutes (only for Commercial Plan and above users)
- 15 minutes (only for Commercial Plan and above users)
- 30 minutes
- 1 hour
- 6 hours
- 12 hours
- 24 hours
In addition to the specific options provided by the system, you can also input custom crontab tasks to configure scheduled task execution based on minute, hour, day, month, and week cycles.
