OpenPing sends alerts to notification channels, which you add under Integrations & API > Notification channels, to phones and browsers through Web Push, and to the OpenPing Android app through Firebase Cloud Messaging when the install has FCM_SERVICE_ACCOUNT (ANDROID.md).
The app's devices are listed with the Web Push ones and get the same alerts.
Every channel has a Send test button that delivers a test alert right away and shows whether it worked.
| Channel | What you paste in | What is secret |
|---|---|---|
| Slack | An incoming webhook URL | The URL |
| Microsoft Teams | A Workflows webhook URL | The URL |
| Discord | A channel webhook URL | The URL |
| Telegram | A bot token and a chat id | The bot token |
| A recipient address (sent through Resend) | Nothing (needs RESEND_API_KEY) |
|
| Webhook | Any https URL, plus an optional signing secret | The URL and the secret |
Secrets are encrypted at rest under MASTER_KEY, are never sent back to the browser, the CLI or an MCP client, and are covered by a MASTER_KEY rotation (see Security).
When you edit a channel, leave a secret field blank to keep the stored value.
| Event | Slack, Teams, Discord, Telegram | Webhook | Web Push | |
|---|---|---|---|---|
| Down | yes | yes | yes | yes |
| Recovered | yes | yes | yes | yes |
| Missed heartbeat | yes | yes | yes | yes |
| Flapping | yes | yes | yes | yes |
| Maintenance started or ended | no | no | yes | no |
| Incident update | yes | yes | yes | no |
| Weekly summary | no | yes | no | no |
| Test | yes | yes | yes | yes |
A channel's own event list (events in the API) replaces these defaults, and a monitor can limit its alerts to chosen channels.
Repeated down, flapping and missed-heartbeat alerts for one monitor are combined into one alert per hour.
When 3 or more monitors go down within 2 minutes of each other, each channel and push device gets one alert listing them all, titled for example "5 sites down at once", with the line "likely a shared cause (network, DNS, firewall)". Many sites failing together usually means something between OpenPing and them broke, such as a firewall or bot rule, a DNS change or a network problem, rather than each site on its own. Their recoveries are grouped the same way ("5 sites recovered"). Alerts for one or two monitors go out one by one, as before.
As a backstop, no channel or push device gets more than 10 alerts in 10 minutes; a grouped alert counts as one.
Alerts over that are not sent: they are kept in the outbox with status suppressed and logged by the Worker, so check the dashboard for the current state.
Tests, incident updates and the weekly summary don't count and are never held back.
When you post a status update to an incident (under Incidents, with op incidents update, the MCP tool post_incident_update or POST /api/incidents/:id/updates), its monitor's channels get an alert with the update's status and message.
The alert's colour follows the status: red for Investigating, amber for Identified and Monitoring, green for Resolved.
It shows when the update was posted and links to the incident in OpenPing.
- It goes to the same channels as the monitor's down alerts: every enabled channel whose event list includes
incident_update(all of them by default), limited to the monitor's chosen channels if it has any. - Web Push devices don't get it by default, because they are your own devices and you just wrote the update.
- Clear Alert this monitor's notification channels before posting, or send
notify: false(--quietin the CLI), to post without alerts. - Editing or deleting an update never sends an alert, and updates are never combined: each one you post is sent.
- An update on an incident that isn't public still alerts your channels, because they are yours, not the public status page.
- The alert goes out with the next cron run, within 12 minutes, through the same outbox, retries and rate-limit handling as every other alert.
Alerts go through a durable outbox.
A failed delivery is retried up to 5 times, waiting 1, 2, 4 and then 8 minutes (at most an hour), and each cron run (every 12 minutes) sends what is due.
When a provider rate-limits OpenPing (HTTP 429), the next attempt waits at least as long as it asked: Slack's, Teams' and Discord's Retry-After header, or Telegram's retry_after.
The channel's row in Integrations shows the last error, for example slack_error: no_service or telegram_error: Bad Request: chat not found.
- Open api.slack.com/apps, choose Create New App, then From scratch, and pick your workspace.
- Open Incoming Webhooks and turn on Activate Incoming Webhooks.
- Click Add New Webhook, choose the channel for alerts and click Allow.
- Paste the webhook URL into a new Slack channel in OpenPing and click Send test.
OpenPing accepts only incoming-webhook URLs on Slack's own hosts: https://hooks.slack.com/services/... and, for GovSlack, https://hooks.slack-gov.com/services/....
Workflow Builder webhooks (/triggers/...) take a different payload and are refused; use a generic webhook for those.
An alert is a Block Kit message in an attachment coloured red (down, missed heartbeat), amber (flapping, maintenance started) or green (recovered, maintenance ended, test).
It shows the title, the message, the HTTP status and error, the detection time in each reader's own time zone, and a View incident button.
Monitor names and error text are escaped, so they cannot add links or @channel mentions.
Sources, checked on 2026-10-28: Sending messages using incoming webhooks, Rate limits (about one message a second per webhook, 429 with Retry-After), Formatting text.
Microsoft retired Office 365 connectors, so Teams alerts use a Workflows (Power Automate) webhook instead.
Old connector URLs on webhook.office.com are refused.
- In Teams, open the channel, click ... next to its name and choose Workflows.
- Pick the template Send webhook alerts to a channel (or Post to a channel when a webhook request is received).
- Name it, confirm the team and channel, and click Add workflow.
- Copy the URL it shows, paste it into a new Microsoft Teams channel in OpenPing and click Send test.
OpenPing accepts an https URL on the standard port whose host ends in one of these, and whose path names a workflow (/workflows/):
.environment.api.powerplatform.com, the current Power Automate trigger host, for examplehttps://<environment>.aa.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/<id>/triggers/manual/paths/invoke?...&sig=.... Since 2 June 2026 the path can also carry a scale-unit segment (/direct/cu/20/workflows/...); both forms work..logic.azure.com, for workflows that run in Azure Logic Apps (https://prod-NN.<region>.logic.azure.com:443/workflows/<id>/triggers/manual/paths/invoke?...). Power Automate flows stopped answering onlogic.azure.comon 30 November 2025, so a Teams URL from before then must be replaced with the new one shown in the flow.
The sig query parameter is the credential, which is why the whole URL is stored encrypted.
Government clouds (GCC High, DoD) use other hosts and are not accepted yet.
An alert is an Adaptive Card (version 1.4) with a red, amber or green header, the message, the HTTP status, error and detection time, and a View incident button. All text goes into plain text runs, which Teams never reads as Markdown.
Sources, checked on 2026-10-28: Troubleshoot Power Automate triggers: changes to HTTP or Teams Webhook trigger flows (page dated 2026-08-07), Microsoft Teams connector: Microsoft Teams webhook (message envelope, Adaptive Card attachment, throttling limits).
- In Telegram, message @BotFather, send
/newbotand follow the prompts. It replies with the bot token, which looks like123456789:AA.... - Add the bot to your group, or as an administrator to your channel. For a private chat, open the bot and press Start.
- Send a message there, then open
https://api.telegram.org/bot<token>/getUpdatesin your browser. The chat id is the number in"chat":{"id": ...}. Groups are negative and channels start with-100; a public channel can use its@nameinstead. - Paste the token and chat id into a new Telegram channel in OpenPing and click Send test.
The bot token is a full credential for the bot: it is encrypted at rest, never shown again, and never written into an error.
It must look exactly like a BotFather token, so it cannot change where the request goes.
OpenPing only ever calls https://api.telegram.org/bot<token>/sendMessage.
An alert is an HTML message (parse_mode: HTML) with a bold title, the message, the HTTP status, error and detection time, and a View incident link, with link previews off.
<, >, & and " in monitor names and errors are escaped, so they cannot add tags or links.
If a group was upgraded to a supergroup, the error shows the new chat id to use.
Sources, checked on 2026-10-28: Bot API: sendMessage, HTML style, Bots FAQ: hitting limits.
Create a webhook in the Discord channel's Integrations settings and paste its URL. Alerts are embeds coloured like the other chat channels.
Any https URL that does not point at a private, loopback or link-local address.
With a signing secret, each request carries X-OpenPing-Timestamp and X-OpenPing-Signature: sha256=<HMAC-SHA256 of "<timestamp>.<body>">.
The body is the notification payload as JSON, posted with Content-Type: application/json:
| Field | Type | Meaning |
|---|---|---|
event |
string | down, recovered, heartbeat_missed, flapping, degraded, cert_expiring, maintenance_start, maintenance_end, incident_update, weekly or test |
monitorId |
string | The monitor's id (test for a test alert) |
monitorName |
string | The monitor's name |
state |
string | down or up; for incident_update, down while the incident is open and up once it is resolved; up for cert_expiring (the site still works) |
title |
string | The alert's title, starting with an emoji |
body |
string | The alert's message; for incident_update, the update's message as written |
url |
string, optional | The monitor, or for incident_update the incident, in OpenPing |
statusCode |
number or null | The HTTP status that opened the incident |
error |
string or null | The error that opened the incident |
detectedAt |
number | Milliseconds since 1970: when the problem was detected, or when the update was posted |
durationSeconds |
number or null | The incident's length once resolved |
incidentId |
string, optional | The incident's id |
update |
object, only on incident_update |
id, status (investigating, identified, monitoring or resolved), label (for example Identified), message and postedAt |
group |
object, only on a grouped alert | count, and monitors: one object per monitor with monitorId, monitorName, event, incidentId, url, statusCode and error |
A grouped alert (Many monitors at once) has monitorId group, no incidentId, and lists each monitor in group.monitors.
An incident update looks like this:
{
"event": "incident_update",
"monitorId": "mon_abc123",
"monitorName": "Checkout API",
"state": "down",
"title": "📢 Incident update: Checkout API - Identified",
"body": "A bad deploy; rolling it back.",
"url": "https://status.example.com/incidents?incident=inc_def456",
"statusCode": 503,
"error": "HTTP 503",
"detectedAt": 1793196300000,
"durationSeconds": null,
"incidentId": "inc_def456",
"update": {
"id": "iup_ghi789",
"status": "identified",
"label": "Identified",
"message": "A bad deploy; rolling it back.",
"postedAt": 1793196300000
}
}Each alert is queued once per channel, keyed by its event, its incident (or update) and the channel.
A delivery that failed is retried, so a receiver that took a request but answered with an error can get it again; drop duplicates by update.id, or by incidentId and event (for a grouped alert, those of each of group.monitors).
The JSON export (/api/data/export) does not include notification channels of any type, so it never contains a webhook URL, signing secret or bot token.
After restoring into a new install, add the channels again and re-select them on monitors that were limited to chosen channels.
A full D1 export does contain them, encrypted; see Backup and restore.