Create ICMP Testing Tasks¶
ICMP testing can be used to monitor the network communication status of hosts. By sending one or more ICMP requests (Ping), you can detect packet connectivity, packet loss rate, and round-trip time (RTT). If route tracing (Traceroute) or network hops are configured, the system will return route tracing results, displaying the number of network hops required to connect to the target host and detailed information about each hop node.
Start Creating¶
Click Create > API Tests, and select ICMP Protocol.
1. Define Request Format¶
- Host: Enter the host address, supporting domain name format (e.g.,
www.example.com
) or directly input IP address (e.g.,192.186.0.1
); - Route Tracing: When enabled, the route tracing probe (
traceroute
) will be activated to discover all gateways on the path to the target host; - Pings Sent per Test: You can choose to send 1 to 10 ICMP packets;
- Name: Customize the name of the ICMP testing task, which must be unique within the current workspace.
2. Availability Judgment¶
You can add judgment conditions to match data based on filter conditions. When multiple judgment conditions are selected, you can define AND or OR logical relationships by choosing "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. The test will return the number of packets sent/received based on the Pings sent per test. If route tracing or network hops are configured, the route tracing results will also be returned.
Note
- If "Network Hops" is selected as a judgment condition, the system will return route tracing data, similar to the Traceroute function;
- If the testing task fails to Ping the target successfully, the round-trip time will be displayed as 0, indicating no valid round-trip time;
- The test results are independent of the selected nodes.
3. Select Testing Nodes¶
Currently, TrueWatch 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 site service quality monitoring.
4. Select Testing Frequency¶
Select the execution frequency of the testing task, supporting the following options:
- 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 minutes, hours, days, months, weeks, etc.