Config fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
config.host | string | Yes | — | Hostname or IP address to ping |
config.packetCount | integer | No | 3 | Number of ICMP packets to send (1–20) |
config.timeoutMs | integer | No | 10000 | Ping timeout in milliseconds |
Assertions
| Assertion | Fields | Description |
|---|---|---|
icmp_reachable | (none) | Passes if the host responds to at least one ping |
icmp_response_time | maxMs (integer) | Fails if average response time exceeds threshold |
icmp_response_time_warn | warnMs (integer) | Records degraded hint for elevated latency |
icmp_packet_loss | maxPercent (number, 0–100) | Fails if packet loss percentage exceeds threshold |
Examples
Basic reachability
With latency and packet loss thresholds
Next steps
ICMP overview
When to use ICMP monitors.
Multi-region monitoring
Reduce false positives with multi-region checks.