 ICMP
 ICMP
Performs ICMP (ping) requests for information on ICMP packet loss, duration and response.
Root Privileges Required
ICMP requires either root privileges or the following setting applied:
sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"
imcp-check.yaml
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: icmp-check
spec:
  interval: 30
  icmp:
    - endpoint: api.github.com
      thresholdMillis: 600
      packetLossThreshold: 10
      packetCount: 2
| Field | Description | Scheme | Required | 
|---|---|---|---|
| endpoint | Host to ping | string | Yes | 
| packetCount | Total number of packets to send per check, defaults to 5 | int | |
| packetLossThreshold | Percent of total packets that are allowed to be lost | int64 | |
| thresholdMillis | Expected response time threshold in ms | int64 | |
| * | All other common fields | Common |