Skip to content
Xtrom
Product Proof Security Pricing Docs Blog
Install Start free

Xtrom · Documentation

Monitoring and alerts

A firewall that fails silently is worse than none. This guide covers what Xtrom watches, how it reaches your on-call, and how to verify what it sends.

Updated October 8, 2026Alphaxtrom.ai/docs/monitoring-and-alerts

What Xtrom watches

Alert conditions are evaluated every 5 minutes. Each one carries a severity and points to the console screen where you act on it.

ConditionRaised whenSeverity
Enforcement point stopped reportingA gateway or SDK misses its heartbeat for more than 3 intervals (3 minutes at the default 60-second interval)High
Enforcement point offlineThe same instance has been silent for more than 24 hours. This escalates the same incident rather than opening a new oneCritical
Enforcement point reporting againHeartbeats resume after a silence that was alerted on. Sent as an all-clearInfo
Policy driftA live point is still enforcing an older policy 10 minutes after you published a new oneHigh
Connection stopped syncingAn AWS or GitHub connection’s sync is failingHigh
Connection has not synced recentlyA connected connector has had no successful sync for 2 hours (normal cadence is 5 minutes)Medium
Connection syncing againA failing connection recovers. Sent as an all-clear; activity during the gap is backfilled on the next syncInfo
Install token over its instance limitMore live instances than the token’s capHigh
Install token used from a new networkA token is used from a new source network after its first dayMedium
Install token expires within 7 daysThe token has not been rotated yetMedium

Security detections, such as off-path agent activity and long-lived credential use, go through the same channels with their own severities. Each condition alerts once per occurrence, not on every evaluation.

Where you see health in the console

  • Coverage → Enforcement: every gateway and SDK instance, whether it is live, stale or offline, its policy version, and drift.
  • Connections: per-connector status, last sync, and a plain-language fix when something fails. Install tokens with their usage, networks and live instances.
  • Settings → Notifications: your alert channels, with the result of the last delivery to each one.

Alert channels

Owners and admins can add up to 10 channels per workspace. Each one has a minimum severity (High by default).

ChannelWhat you provideWhat Xtrom sends
SlackAn incoming-webhook URL (https://hooks.slack.com/…)A formatted message with severity, subject, next step and a console link
PagerDutyAn Events API v2 routing keyA trigger event, then a resolve event when the condition recovers
WebhookAny public HTTPS endpointA signed JSON body (see below). The signing secret is shown once, when you create the channel

Channel targets are treated as secrets: after creation the console shows only a masked hint. Webhook URLs must be HTTPS, cannot contain credentials, and must resolve to public addresses. Redirects are never followed. A failing channel never blocks delivery to your other channels.

Setting up a channel

  1. Open Settings → Notifications and choose Add channel.
  2. Pick Slack, PagerDuty or Webhook, give it a name, and paste the URL or routing key.
  3. Choose the minimum severity. Use High for an on-call pager and Medium or Info for a team channel.
  4. For webhooks, copy the signing secret now. It is not shown again.
  5. Select Send test (at most once every 30 seconds per channel) and confirm it arrived. The console records the result.

Recovery notices

When an alerted condition clears, Xtrom sends an all-clear to every channel that received the original alert, even if that channel’s minimum severity is higher than Info. In PagerDuty the incident resolves automatically. In webhooks the all-clear carries resolves, which matches the incident it closes.

Verifying webhooks

Each webhook request is a POST with these headers:

HeaderValue
Content-Typeapplication/json
User-AgentXtrom-Alerts/1
X-Xtrom-Event-IdThe alert id. Use it to ignore duplicates
X-Xtrom-Signaturet=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 of <t>.<raw body> keyed with your signing secret

Example body:

{
  "event": "alert",
  "tenant": "demo",
  "sent_at": "2026-10-08T14:05:00Z",
  "alert": {
    "id": "health:stale:gateway/gw-prod-1:2026-10-08T14:01:12Z",
    "type": "health.mediator_stale",
    "severity": "high",
    "title": "Enforcement point stopped reporting",
    "identity": "gateway/gw-prod-1",
    "detail": "no heartbeat for 228s (expected every 60s); last seen 2026-10-08T14:01:12Z, ...",
    "response": "check the gateway/agent host, its network path to Xtrom, and its token",
    "ts": "2026-10-08T14:05:00Z",
    "resolves": null
  },
  "console_url": "https://console.xtrom.ai/enforcement"
}

Verify against the raw body bytes before parsing, reject old timestamps, and compare in constant time. Xtrom waits 4 seconds for a response and reads only the HTTP status, so return a 2xx quickly and do any work asynchronously.

Python

import hashlib, hmac, time

TOLERANCE_S = 300

def verify(secret: str, header: str, body: bytes) -> bool:
    """header is the X-Xtrom-Signature value; body is the raw request body."""
    try:
        parts = dict(p.split("=", 1) for p in header.split(","))
        ts, sig = int(parts["t"]), parts["v1"]
    except (KeyError, ValueError):
        return False
    if abs(time.time() - ts) > TOLERANCE_S:
        return False  # too old: possible replay
    expected = hmac.new(secret.encode(), f"{ts}.".encode() + body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, sig)

Node.js

import { createHmac, timingSafeEqual } from "node:crypto";

const TOLERANCE_S = 300;

// header: the X-Xtrom-Signature value; body: the raw request body as a Buffer
export function verify(secret, header, body) {
  const parts = Object.fromEntries(header.split(",").map((p) => p.split("=", 2)));
  const ts = Number(parts.t);
  if (!Number.isInteger(ts) || !parts.v1) return false;
  if (Math.abs(Date.now() / 1000 - ts) > TOLERANCE_S) return false; // possible replay
  const expected = createHmac("sha256", secret)
    .update(Buffer.concat([Buffer.from(ts + "."), body]))
    .digest("hex");
  const a = Buffer.from(expected), b = Buffer.from(parts.v1);
  return a.length === b.length && timingSafeEqual(a, b);
}

If the control plane is unreachable

Enforcement does not depend on the control plane at request time. Gateways and SDKs keep enforcing their last verified policy, then fail closed once it is older than the max-stale limit. When they reconnect, heartbeats and decision reporting resume, and Xtrom sends an all-clear for any open “stopped reporting” incident.

Questions about this guide: hello@xtrom.ai. Security reports: security@xtrom.ai.

On this page

What Xtrom watches Where you see health in the console Alert channels Setting up a channel Recovery notices Verifying webhooks If the control plane is unreachable

Guides

Product overview Security & data handling Monitoring & alerts Connections

Every guide prints to a clean PDF for review boards and partners.

Xtrom

The firewall for AI agents. Tool calls are judged before they run — deterministically, in your VPC or on a laptop.

Product

How it works Why Xtrom Compare Proof Install Docs Pricing Changelog

Company

About Blog Careers Book a demo hello@xtrom.ai

Trust

Security Privacy Terms DPA Subprocessors Acceptable use EULA SLA
© 2026 Xtrom, Inc. Alpha · design-partner cohort open · SOC 2 in progress