How to set up ping monitoring for servers and network devices

A step-by-step guide to ping monitoring in Spot Downtime: add a host, allow ICMP through your firewall, and know when to use a TCP check instead.

· 3 min read · By the Spot Downtime team

Some machines don't run a website or expose a port worth checking: routers, firewalls, VPN gateways, IoT devices. A ping monitor sends ICMP echo requests and alerts you when the host stops replying, with the round-trip time of every check.

Each check sends 3 pings. One reply is enough to count as up; the average round trip goes on the chart.
Ping monitors are on every plan, including Free.

Step 1: create the monitor

  1. Open Monitors, click Add monitor and choose Ping.
  2. In Hostname or IP address, enter something like server.example.com or 203.0.113.10.
  3. Pick how often to Check every, then click Add monitor.
A ping monitor for a VPN gateway.

Each check sends 3 pings. One reply within 2 seconds is enough to count as up, and a failed check is retried before an incident opens, so a single lost packet doesn't alert anyone.

Step 2: make sure ping isn't blocked

Many cloud providers and firewalls block ICMP by default, and a blocked host shows as down even when it's fine. Test from your own machine first:

bash
ping -c 3 203.0.113.10

If nothing comes back, allow ICMP echo requests in your firewall or security group:

  • AWS: add an inbound rule to the security group for “All ICMP - IPv4” (or just Echo Request).
  • Linux with ufw: ping is allowed by default; check /etc/ufw/before.rules if it isn't.
  • Can't allow ICMP? Use a TCP port check on a port the host already serves, such as 22 or 443.

Step 3: test the alert

Connect a channel under Alerts and press Send test. Watch the response-time chart for a day: a steady round trip that suddenly climbs is often the first sign of a network problem.

Good to know

  • Private addresses can't be pinged. The device must be reachable from the internet.
  • A ping monitor on a domain name also warns you before the domain expires.
  • Ping says the machine is on, not that its services work. Pair it with a website or TCP check.

More in this series

Get new guides by email

Practical posts on monitoring, outages, error fixes and on-call, when they're published. No spam.

Unsubscribe from any email with one click. See our privacy policy.

Keep reading