Alerts

When a check goes down, Crony alerts each integration the check uses. Every integration has two settings of its own that decide when it hears about an outage.

Delay

The delay tells an integration only if the check is still down after that long. It can be from 0, which means at once, to 24 hours. If the check recovers within an integration's delay, that integration is never told.

Repeat

The repeat interval sends a reminder at that interval for as long as the check stays down. It can be from 5 minutes to 7 days, or off, in which case the integration is told once.

Recovery

When the check comes back up, Crony sends a recovery message to every integration whose last message about the check said it was down. That includes an integration told about an earlier outage whose recovery message never got through. An integration that was never told stays quiet. You can switch recovery messages off for an integration.

Retries

If a delivery fails, for example because a chat service is not answering, Crony tries again. Each message is tried up to five times, waiting 1, 2, 4 and 8 minutes between tries. The integration's page in the dashboard shows the last error. A message that fails all five tries does not stop the integration's reminders. A message still waiting for a retry is dropped if the check's state changes meanwhile, so a late down alert never arrives after the check has recovered, and an alert about an earlier outage never arrives during a later one.

Test alerts

Each integration's page has a Send a test alert button. It sends a down alert for a made-up check named Test alert at once, and shows the error if the delivery fails.

Email confirmation

An email integration sends alerts to its address only after that address agrees. When you add your own address, it works at once. For any other address, Crony sends one email asking the recipient to confirm, and the integration sends nothing until they do. Its page shows that it is waiting, and can send the request again once a day.

Crony sends one address at most 3 confirmation requests and team invitations in 24 hours, from all accounts together, and one account can cause at most 20. Past either limit the integration is still added and waits, and its page says that no email was sent and why.

An escalation, worked through

A project has three integrations:

IntegrationDelayRepeat
Slack0Off
Email10 minutesOff
PagerDuty30 minutes1 hour

The check for a nightly backup goes down at 02:35.

  • 02:35: Slack is told.
  • 02:45: Email is told.
  • 03:05: PagerDuty is told, and again at 04:05, 05:05 and so on.

If the backup pings at 02:50 instead, Slack and Email get a recovery message. PagerDuty's alert was still waiting, so it is cancelled, and PagerDuty never hears about the outage.

Pausing

Pausing a check cancels any alerts and reminders that have not gone out yet. A paused check sends nothing until it is resumed. Pausing a check that is down ends its outage, and no recovery message is sent. Taking an integration off a check also cancels that integration's alerts and reminders for the check that have not gone out yet.