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: