Monitoring alerts and who gets them

monitoring, alerts, email, slack, teams, webhook, notifications, downtime · 0 found this helpful

When a check finds your site down, a certificate or domain about to expire, or a missed heartbeat, we tell you. This article covers who gets those alerts and how to send them to Slack, Microsoft Teams or your own app.

Before you start

  • Email alerts are on for every account. You don't need to set anything up.
  • Slack, Teams and webhook alerts come with Enhanced Monitoring ($6.99 per month for each hosting account) or the Care bundle. See Enhanced Monitoring.
The Alert contacts panel in Monitoring

What we alert you about

Alert When it's sent
Site down A check fails, and a second try a couple of seconds later fails too
Back up The same check passes again. The alert says how long it was down
SSL expiring The certificate on a checked address has 14 days left, then again at 7, 3 and 1 day. Free certificates renew on their own well before this, so the alert means a renewal may be stuck
Domain expiring A checked domain has 30 days left before it expires, then again at 7, 3 and 1 day
Missed heartbeat A cron job or app that sends heartbeats didn't check in on time. See Cron and app heartbeats
Monthly report Early each month, a summary of the month before, with Enhanced Monitoring or Care. See Your monthly monitoring report

Every contact gets every alert. Our checks run from one monitoring location. A short network problem between that location and your site can look like an outage, which is why we try a failed check a second time before we alert you.

Who gets email alerts

Alert emails go to the email address on your Barbrick account. They also go to anyone you've added as a contact on your account with product emails turned on.

Every alert email links to the check in Monitoring and to your alert contacts. Email alerts can't be turned off, so you always hear when a site goes down.

See who gets alerts

  1. Go to Account → Hosting → your site → Monitoring.
  2. Next to Alerts go to, select Manage.

The Alert contacts panel lists your account email first, then any channels you've added.

Send alerts to Slack

  1. In Slack, create an incoming webhook for the channel you want alerts in. Slack's help explains how. Copy the webhook address. It starts with https://hooks.slack.com/.
  2. In Monitoring, select Manage next to Alerts go to.
  3. Under Send to, choose Slack.
  4. Paste the address, and give it a name if you like, such as #site-alerts.
  5. Select Add.

We send a test message straight away. If it doesn't appear in Slack, check that you copied the whole address.

Send alerts to Microsoft Teams

  1. In Teams, open the channel, then Workflows, and add the workflow that posts to a channel when a webhook request is received. Copy the address it gives you.
  2. In Monitoring, select Manage next to Alerts go to.
  3. Under Send to, choose Microsoft Teams, paste the address, and select Add.

Alerts arrive as cards with the details and a button that opens Monitoring.

Send alerts to your own app with a webhook

A webhook sends each alert to an address you choose, as a POST request with a JSON body. Use it to connect a ticketing tool, an on-call service or your own code.

  1. In Monitoring, select Manage next to Alerts go to.
  2. Under Send to, choose Webhook and paste your address. It must start with https:// and be reachable from the internet. Addresses inside a private network aren't accepted.
  3. Select Add.
  4. Select Copy next to the signing secret and keep it somewhere safe. It starts with whsec_, and we show it only once.

Your app should answer with any 2xx status within 5 seconds. We don't follow redirects, so use the final address.

Here's what a Back up alert looks like:

{
  "event": "up",
  "test": false,
  "id": "3f9c1a7e52b04d6e8a1f",
  "site": "example.ca",
  "check": { "name": "Home page", "target": "https://example.ca/" },
  "occurred_at": "2026-11-12T19:11:00+00:00",
  "started_at": "2026-11-12T19:02:00+00:00",
  "duration_s": 540,
  "reason": null,
  "days_left": null,
  "expires_at": null,
  "title": "Home page is back up",
  "message": "https://example.ca/ is responding again. It was down for 9 minutes.",
  "link": "https://barbrick.ca/account/hosting/example.ca/monitoring"
}
Field Meaning
event down, up, ssl, domain, heartbeat, report or test
id Stays the same when we retry the same alert, so you can ignore repeats. Every event has one
started_at, duration_s When the outage began, and its length on up
reason Why a down check failed, in words, such as Didn't answer in time
days_left, expires_at Set on ssl and domain alerts

The report event has its own fields. See Your monthly monitoring report.

Each request carries these headers:

Header Value
X-Barbrick-Event The event name
X-Barbrick-Delivery A unique id for this attempt
X-Barbrick-Signature t=<unix time>,v1=<signature>

To check that a request came from us, compute an HMAC-SHA256 of the time, a full stop and the raw body, using your signing secret, and compare it with v1. Reject requests more than 5 minutes old.

<?php
$secret = getenv('BARBRICK_WEBHOOK_SECRET');
$body = file_get_contents('php://input');
preg_match('/t=(\d+),v1=([0-9a-f]{64})/', $_SERVER['HTTP_X_BARBRICK_SIGNATURE'] ?? '', $m);
$valid = $m
    && abs(time() - (int) $m[1]) < 300
    && hash_equals(hash_hmac('sha256', $m[1] . '.' . $body, $secret), $m[2]);
http_response_code($valid ? 204 : 401);

Test or remove a channel

In Alert contacts, find the channel:

  • Send a test sends a test alert now.
  • Pause stops alerts to the channel but keeps its address. Resume starts them again.
  • Remove deletes the channel and its address.

How we keep alerts calm

  • One alert per change. You get one message when a check goes down and one when it's back, not one a minute.
  • At most 12 alerts an hour. If many checks change at once, we hold the rest so your inbox doesn't flood. Monitoring still shows every change.
  • Maintenance windows. Alerts are muted during a maintenance window you've set in Monitoring.
  • Retries. If a channel doesn't answer, we try twice more over the next hour.
  • Automatic pause. If a channel fails 10 times in a row, we pause it and email you. Fix the address or your app, then select Resume.

If something goes wrong

Problem What to do
"Use a public https:// address" when adding a channel The address must start with https:// and point to a server on the internet, not one inside your office or home network
"Paste the Slack webhook address" Copy the incoming webhook address from Slack. A link to a Slack channel or message won't work
The test message didn't arrive Check the reason in the message, such as HTTP 404. A 404 usually means the webhook was deleted. Create a new one, remove the channel and add it again
A channel shows as paused You paused it, or it failed 10 times in a row. Fix the address or your app if needed, then select Resume
You get alerts for a short blip We alert only after a second try fails too. If one page is slow by design, ask us to adjust its check
You can't choose Slack, Teams or Webhook They need Enhanced Monitoring or Care. Email alerts work on every account

Was this helpful?

Still stuck? Ask us and we'll walk you through it.