Channels and policies
Open Notifications. Two things work together:
- A channel is a destination: a list of email addresses, a webhook, a Slack channel (through the Slack app, or a legacy Slack incoming-webhook address), or an Owl Role ticket rule.
- A policy (called an alert rule in the app) connects monitors to channels. It selects monitors (all of them, a chosen list, or by tag), optionally limits it to some incident severities (none ticked means every severity), lists the channels to use, and sets the timing below. A channel that no policy lists gets no monitor alerts.
The timing settings of a policy:
- Alert after (failed checks): 1 by default. The channels are told once the monitor has failed this many checks in a row. Failure streaks are tracked up to 10, so keep this at 10 or lower.
- Repeat every (minutes): optional. While the incident is open, the channels are told again at this interval. It cannot be shorter than 15 minutes, and a shorter value is treated as 15. The check for a due repeat runs at most once every 5 minutes per incident. Repeats stop as soon as the incident is acknowledged or resolved.
Each channel gets one DOWN message per incident, even if several policies point at it. The RESOLVED message goes only to channels that were told the incident was down, so a blip that never reached a threshold sends nothing. Every delivery, sent or failed, is recorded with its error if it failed.
SLA breach messages are not sent through policies; they go to every enabled channel. Alerts about backups, point-in-time recovery, host health and database insights go to the organization's enabled channels.
Incidents
An incident has the status open, acknowledged or resolved and a severity of critical, major, minor or maintenance. An incident opened by a failed check has the severity major. Acknowledging marks that someone has it and stops repeat messages. A later passing check resolves it.
An email channel is a comma-separated list of recipients. Messages have the subject DOWN: <monitor>, STILL DOWN: <monitor> (a repeat) or RESOLVED: <monitor>. The body gives the reason and a link to the monitor, and after a recovery the time it was down.
Webhooks
A webhook channel has an address, a method (POST by default, or PUT), optional headers and an optional signing secret. The body is JSON. A delivery that gets a 2xx answer counts as sent; anything else, or no answer within 10 seconds, is recorded as failed. A failed first DOWN delivery is not retried on each later failed check; the repeat interval of the policy covers repeats. Variables written as {{KEY}} in the address and headers are filled in from your organization variables.
{
"id": "<unique per delivery>",
"event": "triggered",
"occurredAt": "2026-01-15T09:30:00.000Z",
"org": { "id": "<organization id>", "ref": null },
"monitor": { "id": "<monitor id>", "name": "Checkout API", "key": null, "type": "http" },
"incident": {
"id": "<incident id>",
"title": "Checkout API is down",
"cause": "connect to api.example.com timed out after 10000ms",
"startedAt": "2026-01-15T09:30:00.000Z",
"resolvedAt": null,
"durationSeconds": null
},
"link": "https://possibug.com/app/monitors/<monitor id>"
}| Field | Meaning |
|---|---|
| id | Unique per delivery. Use it to ignore a delivery you have already handled. |
| event | triggered (the incident reached a policy's threshold), renotify (still down) or resolved. |
| occurredAt | ISO 8601 time. For resolved it is the time the incident resolved. |
| org | { id, ref }. ref is null unless the organization has an external reference. |
| monitor | { id, name, key, type }. key is null unless the monitor has an external key. |
| incident | { id, title, cause, startedAt, resolvedAt, durationSeconds }. resolvedAt and durationSeconds are null while it is open. |
| link | Address of the monitor in Possibug. |
Verifying the signature
When a signing secret is set, each delivery carries x-possibug-timestamp (Unix seconds) and x-possibug-signature-v1, which is v1= followed by the hex HMAC-SHA256, keyed with the secret, of the timestamp, a dot and the raw body. Reject a timestamp more than 300 seconds from your clock and compare the signature in constant time. The older x-possibug-signature header (sha256= and the HMAC of the body alone) is still sent, but it does not protect against replay. Copies of all three headers under the earlier x-sentinel- names are sent as well.
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody is the request body exactly as received, before any JSON parsing.
export function isValidPossibugWebhook(
secret: string,
rawBody: string,
timestamp: string, // x-possibug-timestamp
signature: string, // x-possibug-signature-v1
): boolean {
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;
const expected = "v1=" + createHmac("sha256", secret).update(timestamp + "." + rawBody).digest("hex");
const a = Buffer.from(expected);
const b = Buffer.from(signature);
return a.length === b.length && timingSafeEqual(a, b);
}Slack app
The Possibug Slack app can be installed by any Slack workspace. In Possibug open Notifications, choose Add to Slack and approve, then choose Add Slack channel. A workspace belongs to one Possibug organization. If the install does not go through, see support, which has the install and uninstall steps.
- Each Slack channel you add gets its own policy (the monitors and severities you chose), which you can edit on the Alert rules tab. You can pick public channels the app can join and private channels it has been invited to.
- An alert shows the monitor, the target, what failed, which probe regions failed and which passed, when it started, how long it has lasted, the failed checks, a redacted snippet of the response, the last success, the 24 hour uptime and links. Repeat and recovery messages are posted in the thread of the first alert, and the first message is edited to show the current state.
- Buttons: Acknowledge (shows who did it), Open in Possibug, and File ticket once Owl Role is connected. The command
/possibug statuslists open incidents, visible only to you. - If the app is uninstalled in Slack, or Slack rejects its token, its channels are switched off with the reason shown. A channel that was deleted or archived, or that the app was removed from, is switched off on its own. Installing the app again in the same workspace turns back on the channels paused by an uninstall.
- Slack channels added before the app existed, through an incoming-webhook address, keep working.
Owl Role tickets
Possibug can file and maintain a ticket in Owl Role for each incident. Connect your Owl Role workspace under Notifications; the connection must allow Possibug to create tickets. Then add one or more ticket rules:
| Setting | What it does |
|---|---|
| Monitors | All monitors, a chosen list, or monitors with given tags. |
| Owl Role project | The project that receives the ticket. Assignee and labels are optional. |
| Priority | none, low, medium, high or urgent. High by default. |
| File a ticket | On every incident; after the monitor has been down for a set number of minutes (5 by default); or only when someone presses File ticket. |
| Reuse the ticket for failures within (minutes) | 60 by default. A failure inside this window is added to the earlier ticket, which is reopened if it was closed. With 0, a failure after the monitor has recovered files a new ticket. |
| Move the ticket to done when the monitor recovers | On by default. Untick it to leave the ticket open, for example for a post-mortem. |
One ticket covers one outage: failures close together share a ticket. The ticket text includes the monitor name, type and target, the check interval and timeout, the cause of the failure and when the incident opened. You can also file a ticket by hand from an incident's page with File Owl Role ticket, provided a rule covers that monitor.
Escalation
Possibug does not have on-call schedules or multi-step escalation chains. These are the pieces it does have:
- Threshold: a policy can hold back the first message until a monitor has failed several checks in a row.
- Repeat: a policy can send the same message again at an interval until someone acknowledges the incident.
- Ticket after a delay: an Owl Role rule can file a ticket only once the monitor has been down for a set number of minutes.
- Severity rising: for backup, point-in-time recovery, host-health and database-insight alerts, when an open alert becomes more severe (for example a warning that becomes critical), one extra message "escalated to <severity>" is sent.
To reach different people at different stages, create several policies with different thresholds and channels.
Maintenance
A maintenance window has a start, an end and a list of monitors, and can suppress alerts. While such a window is active for a monitor, a failing check does not open an incident for it.