Prerequisites
Prerequisites
Before creating ICMP Monitors, ensure you have:
- An initialized Checkly CLI project
- A hostname or IP address you want to ping
- Basic understanding of network connectivity (ICMP / ping)
Configuration
ICMP monitors have their own ICMP-specific settings, plus the standard monitor options shared across all check types.- ICMP Monitor Settings
- General Monitor Settings
IcmpMonitor Options
object
required
ICMP request configuration, including ping settings and response validation.Usage:Parameters:
number
default:"10"
Packet loss percentage at which the monitor is marked as degraded (warning state).Usage:
number
default:"20"
Packet loss percentage at which the monitor is marked as failedUsage:
IcmpMonitor Assertions
Assertions for ICMP monitors can be defined using the IcmpAssertionBuilder. The following sources are available:
latency(property): Validate round-trip time (RTT) for ICMP pings. The property parameter is required and must be one of:avg,min,max, orstdDevjsonResponse(property?): Assert against the JSON response structure. This allows you to target specific fields using JSON path assertions
- Assert the average latency is below a threshold
- Assert against specific JSON fields in the response
General Monitor Options
string
required
Friendly name for your ICMP Monitor that will be displayed in the Checkly dashboard and used in notifications.Usage:
Frequency
How often the ICMP Monitor should run. Use the Available frequencies:
Frequency enum to set the check interval.Usage:EVERY_10S, EVERY_20S, EVERY_30S, EVERY_1M, EVERY_2M, EVERY_5M, EVERY_10M, EVERY_15M, EVERY_30M, EVERY_1H, EVERY_2H, EVERY_3H, EVERY_6H, EVERY_12H, EVERY_24Hstring[]
default:"[]"
Array of public location codes where the ICMP Monitor should run from. Multiple locations provide geographic coverage and help detect regional network issues.Usage:
boolean
default:"true"
Whether the ICMP Monitor is enabled and will run according to its schedule.Usage:
CheckIntent
Describe what your check is intended to verify and the behavior that should be preserved. Checkly uses intent for root cause analysis across all check types. It is separate from The object accepts the following fields:
description and does not replace executable assertions.Intent is used for automatic repair only for Browser and Multistep Checks.
Each constraint has a required
type and statement:REQUIRED_OUTCOME: an outcome the check must verify.MUST_PRESERVE: behavior or an assertion that should be preserved when repairing the check.
statement must contain 1–1,000 characters after trimming. You can specify at most 20 constraints of each type. The CLI trims leading and trailing whitespace from the goal and statements and rejects unknown fields.For example, configure intent on a Browser Check: