Oleqlog

Notification channels

Add email, Telegram, and webhook destinations for alerts

Channels are destinations. Alert rules pick one or more channels when they fire. Create channels first.

Add a channel

  1. Open Notification ChannelsNew channel.
  2. Channel type — Email, Telegram, or Webhook (SMS and WhatsApp show as Soon).
  3. Friendly name — shown when you attach the channel to an alert rule (e.g. "Ops Telegram").
  4. Destination — credentials for that type (below).
  5. Click Create channel. Then open Alert Rules (or use Set up alerts on the channels page).

Email

Enter the Email address that should receive alerts.

Telegram

  • Bot token from @BotFather.
  • Chat ID — DM, group, or channel. Message the bot, then call Telegram getUpdates with your token to read the chat id.
  • Optional Message thread ID for forum / topic groups.

Webhook

Enter an HTTPS Callback URL. We auto-generate a Signing secret — copy it into your receiver.

On create we verify the URL:

  1. We GET your URL with mode=subscribe, token (the secret), and challenge.
  2. Respond 200 with the challenge as plain text. The button shows Verifying… while this runs.
  3. Later deliveries are POST JSON with header x-oleqlog-secret.
Minimal webhook verify handler
// GET ?mode=subscribe&token=…&challenge=…
if (req.method === "GET" && url.searchParams.get("mode") === "subscribe") {
  const token = url.searchParams.get("token");
  const challenge = url.searchParams.get("challenge") ?? "";
  if (token !== process.env.OLEQLOG_WEBHOOK_SECRET) {
    return new Response("forbidden", { status: 403 });
  }
  return new Response(challenge, { status: 200 });
}

// POST — alert payload; check header x-oleqlog-secret

Next: Alert rules

On this page