Skip to content
Oh Dear
Docs/Notifications

Getting started with notifications

Oh Dear has 2 levels to configure your preferred notifications: on the team-level or the monitor-level.

Team notifications #

Most users will configure their notifications on the team level. Any configuration made here is automatically applied to every site in your account.

Team-level notification settings are conveniently located in the top-right drop-down menu, under the notifications menu.

Oh Dear notifications menu

Monitor notifications #

Alternatively, you can configure alerts per site too. Click through on each monitor and you'll find the notifications options in the left-side menu.

Oh Dear notifications menu

Notifications configured here will only apply to that monitor and nothing else.

You can, optionally, override the team notifications per site too. This allows you to create a notification channel that is unique to that monitor, without inheriting any of the team-level notifications.

Oh Dear notifications menu

You'll find this option on the Preferences tab of the monitor-level notifications.

Tag notifications #

Oh Dear allows you to configure notifications based on tags applied to your monitors. This feature provides a flexible way to manage notifications for groups of sites with similar characteristics or purposes.

Setting up tag notifications #

  1. First, ensure you have applied some tags to your monitors. You can do this in the monitor settings for each individual site.
  2. Navigate to the tag settings (found in the top-right drop-down menu under "Tags").
  3. You can then create a new tag or manage created tags.
  4. Click on "Notifications" next to the tag you want to configure.
  5. Configure the notification channels and events, similar to how you would for team or site-level notifications.

When an alert event occurs for a site, Oh Dear checks if the monitor has any tags with notification rules attached. If a match is found the notification is sent according to the settings for that tag rule. A site can match multiple individual tag notification rules. In this case, notifications will be sent based on all matching rules.

Tag groups #

You can also create 'tag groups'. Tag groups are perfect for larger teams - apply notification settings to multiple related tags at once.

To set up a tag group:

  1. Go to the "Tag Groups" section at the bottom of your tag settings
  2. 'Create' a new tag group with a label and add the relevant tags to it
  3. You can now attach notification settings to the tag group.

Tag group notifications are applied when a site has all of the tags in the group. For example:

Label: 'Client production sites' Tags: client, production

Only sites with both the client and production tags will receive the configured notifications.

Wildcards #

Oh Dear supports wildcard matching for tag groups. This is particularly useful when you have a naming convention for your tags and want to create rules that apply to a range of tags.

For example:

  • A wildcard tag production* would match tags like production-eu, production-us, etc.
  • *-production would match tags like client1-production, project2-production, etc.

To use a wildcard:

  1. When setting up a tag notification, enter your wildcard pattern (e.g., production*) in the tag selection field.
  2. Oh Dear will interpret this as a wildcard and match it against your existing tags.

Tag notifications provide a powerful way to organize and manage your alerts, especially when dealing with a large number of sites with different requirements. By effectively using tags, tag groups, and wildcards, you can create a notification system that's both flexible and precise.

Examples #

You can arrange your tags in any way that suits your team's workflow. Here are some examples of how you might structure your tags and groups:

  • Site 1: production, region-eu, client, spatie, app
  • Site 2: staging, region-us, internal, marketing
  • Site 3: staging, region-us, internal, app
  • Site 4: staging, region-eu, internal, app

Tag group: Client - production => [production, client]

Tag group: Internal - development => [internal, staging]

Configuring notifications #

Once you're on the notification settings screen, you'll see a series of blocks similar to this one. In terms of functionality, both team and site level notifications behave the same.

Each block follows the same notification flow:

  • Determine where events are sent to
  • Determine what events should be sent

Oh Dear notifications menu

Each checkbox can be toggled to enable or disable that particular event from being sent to that channel.

You can add as many channels as you'd like. In the example of the email address, you can add multiple email addresses that each receive different events.

Group notifications #

When a server goes down, every site on it goes down at the same time. Without grouping, you get 20 or 30 separate "seems down" messages in your channel. An alert about a different problem is easy to miss between them. Grouping collects those alerts into one message.

Turning it on #

Open a notification destination, click Advanced settings, and open the Grouping tab. Pick 30 seconds, 1 minute, or 2 minutes. This works for email, Slack, Discord, and Google Chat. Each destination has its own setting. So one Slack channel can get grouped messages while another gets every alert on its own.

The first alert starts the timer. Later alerts join the group, but they don't reset the timer. Even a single alert waits for the full time. A busy mail or chat service can add a little extra time. Alerts collected during your business hours can arrive just after those hours end.

What gets grouped #

We group four kinds of alerts: monitor down, monitor recovered, certificate unhealthy, and certificate fixed. Each kind gets its own message. HTTP, TCP, and ping monitors get separate messages too. We send every other event straight away.

What a grouped message looks like #

The title names the monitors, using the same words as a single alert:

  • shop.example.com, api.example.com, blog.example.com, and 1 other seem down
  • shop.example.com and api.example.com have recovered

We name up to three monitors and count the rest.

A downtime message lists the reasons the monitors went down. Each reason has a count, and the most common one comes first:

HTTP/1.1 503 Service Unavailable (4), Timeout (1).

A recovery message tells you how many monitors are still down. It only counts the monitors this destination gets alerts for:

2 monitors are still down.

Grouped messages link to your monitor list instead of offering actions for one monitor:

  • Downtime: a link to View monitors with issues.
  • Recovery: a link to View all monitors. If monitors are still down, Slack (with our Slack app) and Google Chat also show View monitors with issues. Slack webhooks and Discord show only one link. It goes to the monitors with issues while anything is still down. When nothing is down, it goes to all monitors.

Email shows more detail. It lists the affected monitors. Each one links to its uptime or certificate report. A recovery email also lists the monitors that are still down. It shows the time we checked that. A downtime email includes the full error details for one of the monitors, like a single alert would. Other monitors in the group may have failed for a different reason.

The dashboard can change after a message is sent. Open Show sent notifications in the destination's menu to see every monitor in a group and what we sent.

Monitors that stay down #

A monitor that stays down repeats its alert every hour, the same as without grouping. Those repeats are grouped too. Say two sites on the same server stay down. You'll get one "A and B seem down" message every hour until they recover. Without grouping, you'd get two. Grouped messages have no acknowledge button. To stop the repeats for a monitor, acknowledge it on its check page.

Turning it off or changing the destination #

When you turn grouping off, we close and send the groups that are still collecting alerts. Matching alerts wait until those groups are sent. So you may still get grouped messages for a short time. Connection tests always send immediately.

Changing where a destination points, its email address, webhook URL, or Slack channel, discards any group still collecting for the old address. Those alerts are not resent to the new one. Change the address when nothing is failing, or expect to miss the alerts that were waiting.

Business hours #

Not every alert needs to wake someone up. You can send a channel's notifications only during your business hours, or only outside of them.

First, set your business hours. Open Manage Team in the top-right menu and find the Business Hours section. Fill in a start and end time for each day. Leave a day empty to treat the whole day as outside business hours. We use your team's time zone, which you'll find in the Location section on the same page.

Next, pick the Notification timing when you add or edit a notification channel:

  • All hours: we always send the notification. This is the default.
  • Inside business hours only: we only send it during your business hours.
  • Outside business hours only: we only send it outside of your business hours.

You can combine these. For example, email your support inbox during business hours, and send an SMS to your on-call team outside of them.

Was this page helpful?

Feel free to reach out via support@ohdear.app or on X via @OhDearApp if you have any other questions. We'd love to help!