ICMP

Steps

ping

ParamDescriptiondefault
hostnameWhere do you want to ping?
times (optional)How many times do you want to ping3

Custom metrics

MetricDescription
packet_lossnumber of lost packets
min_rttmin ping
max_rttmax ping
avg_rttavg ping
packet_duplicatesduplicate packets
packet_receivepackets received
packet_sendpackets send

traceroute

ParamDescriptiondefault
hostnameWhere do you want to ping?

Custom metrics

MetricDescription
hop_%d_elapsedtime to completed hop
hop_%d_statushop status
hopsnumber of hops

Example

name: icmp_test_ping
description: Test ping to 8.8.8.8
scrapeInterval: 1m
scenario:
  kind: icmp
  steps:
    - type: ping
      params:
        hostname: 8.8.8.8
        times: 3
name: icmp_test_ping
description: Test traceroute to 8.8.8.8
scrapeInterval: 1m
scenario:
  kind: icmp
  steps:
    - type: traceroute
      params:
        hostname: 8.8.8.8

Last modified March 1, 2022: add missing changes (77e6d9c)