You're reading the docs for v1.5.0, which isn't released yet. Commands here pull :edge, the newest pre-release build. Go to the current release (v1.4.0) →
Alerting › Slack alerts

Slack alerts

Post a message to Slack when a rule changes state.

Uptimer sends alerts through one webhook per workspace. Point it at a Slack incoming webhook and you get a message when a monitor has a confirmed problem, when it has confirmed no data, and when it recovers.

Set it up

  1. Set general.site_url to your instance’s public base URL, for example UPTIMER__GENERAL__SITE_URL: "https://uptimer.example.com".
  2. In Slack, create an Incoming Webhook and copy its URL.
  3. In Uptimer, open Workspace → Settings → Webhook URL, paste it, and save.

On the next status change, Uptimer POSTs a Slack-formatted message with a link back to the rule’s history.

Set site_url on every server process, not just the web one. Alerts are sent by server --services availabilities, and that is the process that builds the link — putting the setting on the UI container alone leaves the alerting one without it. Without site_url the alert is still sent; its link just reads SITE_URL_NOT_CONFIGURED/ui/… instead of a working address, and the server logs a warning at startup.

What an alert says

There are three, and the colour tells them apart at a glance: red for a confirmed problem, amber for no data, green for a recovery.

Checkout API is down
Failing from 2 of 3 locations — de, fr
`Get "https://checkout.example/health": dial tcp 104.20.23.154:9: i/o timeout`
Down for 2m before we alerted.
View timeline

A no data alert says No reports from 2 of 3 locations and, plainly, that Uptimer cannot tell whether the site is up — which is not the same claim as “your site is down”. A recovery says how long the outage lasted and when it ended.

Alerts fire on state transitions, not on every check: one message when a rule goes down, one when it recovers — not one per interval.

The webhook is configured in the dashboard (not the REST API), and there is one URL per workspace. It covers every rule in that workspace — there is no per-rule switch: set the URL and all rules alert. To send somewhere other than Slack, see Webhooks.

When an alert actually fires

An alert is sent when a problem is confirmed — that is, when it has held for 2 minutes. There is no need for a healthy period first, which is what makes it worth testing:

The webhook is called from the Uptimer server (or its container), so the URL must be reachable from there — a localhost receiver on your laptop is not reachable from inside the container. If nothing arrives, check the server logs for the outgoing webhook POST.

Delivery is best-effort. Uptimer sends the webhook once, in the background — there is no delivery-status indicator, retry, or “send test” button yet, and a failed POST is recorded only in the server logs, not the dashboard. If alerts don’t arrive and the URL is reachable, the logs are the place to look.