Website down alerts on your iPhone
You want to know your site is down before a customer tells you. That takes two things: something that checks the site every few minutes, and something that tells your phone right away, without an alarm on every failed check until you fix it.
Honk! Honk! is the second. It doesn’t check your site on its own, so this guide pairs it with a checker: a small script on any machine that’s always on, Uptime Kuma if you already run it, or UptimeRobot, which checks from outside.
Before you start
- A Honk! Honk! account (invite-only for now: request access).
- A project for your sites, with an ingestion key: in the web app, open the project, then Keys.
- A machine that’s always on and is not the server that hosts the site: a small VPS, a Raspberry Pi or a NAS. A check that runs on the same server goes down with it.
Option 1: a check script and cron
Install the honk CLI and put HONK_URL and HONK_KEY in the crontab, as in the cron guide. Then save this script as /usr/local/bin/check-site and make it executable:
#!/usr/bin/env bash
# check-site <url> [text]: a message at level Critical when the site is down, one recovery when it's back.
# Down means: no 2xx answer within 10 s (after 2 retries), or the page lacks the text.
set -uo pipefail
url=$1 text=${2:-}
host=$(printf '%s' "$url" | sed -E 's#^https?://##; s#/.*$##')
key="site/$host"
state="${XDG_STATE_HOME:-$HOME/.local/state}/check-site/$host.down"
mkdir -p "$(dirname "$state")"
if body=$(curl -fsS --max-time 10 --retry 2 --retry-delay 5 "$url" 2>&1) &&
{ [ -z "$text" ] || grep -qF -- "$text" <<<"$body"; }; then
if [ -e "$state" ]; then
honk phew --group-key "$key" --source "$(hostname)" --category infrastructure \
--title "$host is back" --message "$url answers again." || true
rm -f "$state"
fi
else
# sent on every failed check while it's down: Honk folds them into calm updates
honk uhoh --group-key "$key" --source "$(hostname)" --category infrastructure \
--severity blast --title "$host is down" --message "$url
${body:0:600}" || true
touch "$state"
fiIt counts the site as down when it doesn’t return a success within 10 seconds, after two retries, or when the page is missing a phrase you choose. That second check catches the “site loads, but shows an error page” case: pick words that only appear when the page really works, like the “Add to cart” button in your shop.
Run it every five minutes, one line per site:
*/5 * * * * /usr/local/bin/check-site https://shop.example.com/ "Add to cart"
*/5 * * * * /usr/local/bin/check-site https://www.example.com/What happens when the shop goes down:
- The first failed check pushes a Critical-level message with the error, titled “shop.example.com is down.”
- Every check while it’s down sends the same problem again. Honk! Honk! folds them into one group and pushes at most one update every 5 minutes, with a count. With a check every 5 minutes, that’s a reminder per check: if that’s too often, raise While a problem repeats, notify at most once every … in the project’s Settings, to 30 minutes for example.
- The first good check sends a recovery titled “shop.example.com is back.” The incident closes, and if it was the last one a Live Activity was showing, the activity switches to All clear.
Option 2: Uptime Kuma
Uptime Kuma is a free, self-hosted monitor, and Honk! Honk! connects to it with one URL: no template and no key. In the Honk! Honk! web app, open the project, go to Connections, click Connect a service and choose Uptime Kuma. Then, in Uptime Kuma, open Settings ▸ Notifications ▸ Setup Notification, choose Webhook, and paste the URL from Honk! Honk! into Post URL, with the request body left on the JSON preset.
A monitor that goes down opens a problem at level Error, titled with the monitor’s name, and the check that finds it up again closes it with a recovery. Each monitor gets its own group. The Uptime Kuma guide has every step, how to test it, and how to let a monitor wake you during quiet hours.
Option 3: UptimeRobot
UptimeRobot checks your site from its own servers, so you don’t need a machine that’s always on. In the Honk! Honk! web app, open the project, go to Connections, click Connect a service and choose UptimeRobot. Then, in UptimeRobot, open Integrations, click Add Integration and choose Webhook.
Paste the URL from Honk! Honk! into Webhook URL. There’s no secret: the URL itself is the key, so keep it private. Tick Send as JSON (application/json) and paste this into POST value (the connection in Honk! Honk! has it ready to copy):
{
"monitorID": "*monitorID*",
"monitorFriendlyName": "*monitorFriendlyName*",
"monitorURL": "*monitorURL*",
"alertType": "*alertType*",
"alertTypeFriendlyName": "*alertTypeFriendlyName*",
"alertDetails": "*alertDetails*",
"alertDuration": "*alertDuration*",
"alertDateTime": "*alertDateTime*"
}Under Events to notify about, tick Down events and Up events, save, and turn the webhook on for your monitors.
A monitor that goes down opens a problem at level Error, titled with the monitor’s name, with UptimeRobot’s details, and the alert that it’s up again closes it with a recovery. Each monitor gets its own group. If you also tick SSL & Domain expiry, those alerts arrive as Warning-level messages.
Other hosted uptime services
Other hosted uptime checkers can call a webhook too, but they send their own format. Point the webhook at n8n, Make or Zapier, and send Honk! Honk! a problem when the check fails and a recovery when it passes, with the same group_key for both. The forms guide shows the HTTP module in Make.
Waking up for it
Quiet hours hold pushes at night. If your shop going down should wake you up, send the problem with --priority urgent, allow urgent events on that project’s ingestion key, and allow urgent events in your quiet hours. Save that for the one or two sites that really matter.
Honk! Honk! is invite-only for now: request access. Everything in this guide works on the Free plan.