Telescope

Ping

How Telescope checks host reachability and latency with ICMP, including TCP fallback behavior.

Ping monitors test network-level reachability for a target host. They send ICMP echo requests, measure latency, and classify packet-loss conditions.

How a check works

  1. Telescope resolves the host from target (or URL hostname fallback).
  2. The worker runs an OS-level ping command with bounded packet count and timeout.
  3. It parses packet statistics (sent/received/loss) and RTT values (min/avg/max/stddev when available).
  4. If ICMP is unavailable or fully blocked and fallback is enabled, Telescope can run a TCP connect probe as fallback.
  5. The result is recorded with protocol metadata (icmp or tcp).

Status classification

ConditionStatusWhat it means
Reachable, low packet loss, acceptable latencyUpHost is reachable and healthy
Partial packet loss over thresholdDegradedHost is reachable but unstable
Average latency above thresholdDegradedHost is reachable but slow
Zero replies / high loss over down thresholdDownHost appears unreachable or severely degraded

If ICMP fails and TCP fallback succeeds, the check result includes protocol: "tcp" with fallback metadata.

Configuration options

These values are stored in monitor config and accept both camelCase and snake_case keys:

SettingDefaultDescription
packetCount4Number of ICMP packets per check
packetTimeoutMs / timeout5000Per-packet timeout target
intervalMs / interval1000Delay between packets
lossDegradedThreshold10Packet-loss % to mark degraded
lossDownThreshold50Packet-loss % to mark down
highLatencyThresholdMsunsetOptional avg RTT threshold for degraded
fallbackToTcptrueEnable TCP connect fallback if ICMP is unavailable
tcpPort443Preferred TCP fallback port

Result data highlights

Ping checks store structured metrics in result_data, including:

  • protocol (icmp or tcp)
  • packets_sent, packets_received, packet_loss_percent
  • latency_min_ms, latency_avg_ms, latency_max_ms, latency_stddev_ms
  • fallback_used, fallback_port, icmp_error

Operational note

Some environments block ICMP or do not expose the ping binary. TCP fallback reduces false negatives in those cases, but ICMP-specific latency/loss metrics are only available when protocol is icmp.

On this page