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
| Option | Description | Default |
|---|---|---|
| Host | Hostname or IP address | Required |
| Timeout | Maximum time to wait for connection | 10s |
| Interval | How often to run the check | 60s |
| Regions | Which regions run the check | All |
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
| Monitor | Use case |
|---|---|
| Ping | Quick reachability check for web servers |
| HTTP | Full request/response validation with status codes and body checks |
| TCP | Checking non-HTTP services on specific ports |