Skip to main content
Without an alert channel, nothing is sent when a site goes down. Set up at least one.

Add a channel

Open Alerts → Add a channel and fill in: Press Send test on a channel to check it works. The list shows each channel’s type, where it sends, which events it has and whether it is on, and below it Recent alerts with the result (Sent or Failed, with the error).

Down alerts wait a few minutes

A single failed check is often a blip. A down alert waits about 6 minutes and only goes out if the site is still down, so one hiccup does not page anyone. The wait is set by ALERT_DOWN_CONFIRM_MINUTES in .env (default 6).

Webhook payloads

A webhook channel receives a JSON POST for each event, with the header X-Azvian-Event (for example down, recovered, ssl_expiring; a test uses test) and this body:
The details object depends on the event (for example the reason and HTTP status for a down alert, or the expiry date, days left and issuer for a certificate).

Verifying the signature

If you set a signing secret, every request also carries X-Timestamp (Unix seconds) and X-Signature: the hex HMAC-SHA256 of "{timestamp}.{raw body}" using your secret. Recompute it on your side, compare, and reject timestamps that are more than a few minutes old.

Safety rules

The webhook (and Slack) URL must point at a public address: addresses on your own network, such as localhost, 10.x.x.x or the cloud metadata address, are refused when you save the channel and again before every send. Redirects are not followed. Treat the URL and the secret like passwords: they are stored encrypted.

What does not go through alerts