Skip to main content

Ping Monitor

The Ping monitor checks host reachability by performing a TCP connect to port 80. This is a lightweight way to verify that a host is online and accepting connections.

Configuration Options

OptionDescriptionDefault
HostHostname or IP addressRequired
TimeoutMaximum time to wait for connection10s
IntervalHow often to run the check60s
RegionsWhich regions run the checkAll

How It Works

Unlike ICMP ping, the Kamustatus Ping monitor performs a TCP connect to port 80 on the target host. This approach works reliably across cloud environments where ICMP is often blocked. The check passes if the TCP handshake completes within the timeout.

Example

curl -X POST https://app.kamustatus.com/api/monitors \
-H "x-api-key: km_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Server Ping",
"type": "ping",
"host": "example.com",
"interval": 60
}'

When to Use Ping vs HTTP vs TCP

MonitorUse case
PingQuick reachability check for web servers
HTTPFull request/response validation with status codes and body checks
TCPChecking non-HTTP services on specific ports