Docs menu

    How alerts work

    When Greenbar sends an alert, what it waits for, and how maintenance changes it.

    When an alert is sent

    Each status page has its own Alerts page. An alert goes to every channel there that is enabled. You don't choose monitors per channel, and a disabled channel is skipped.

    A check sends an alert when it opens an incident and when that incident is resolved. A monitor that is up with a warning can send a degraded alert, and a Website (HTTP) monitor that stays slow can send a slow alert while it is still up. Send test sends one only when you ask. An incident you write yourself does not send these alerts.

    Alert channels, before any channel is added.
    The Alert channels card on Alerts, with the line No channels yet — add one below.The Alert channels card on Alerts, with the line No channels yet — add one below.
    • Incident opened

      When it is sent: The monitor is confirmed down, after the failed checks in a row it needs, and an incident opens.

    • Incident resolved

      When it is sent: That incident closes after the good checks in a row the monitor needs.

    • Degraded

      When it is sent: The monitor is up and enters a warning. Another one for that monitor waits 24 hours. If it recovers into a warning, the resolved alert names the warning and a separate degraded alert is not sent.

    • Slow

      When it is sent: A Website (HTTP) monitor is up and slow. The limit is on the Website (HTTP) monitors page. It does not open an incident.

    • Test

      When it is sent: You choose Send test on an enabled channel. Each channel allows 5 tests an hour.

    Recent deliveries lists When, Channel, Event and Status for what was just sent. Event shows the alert's id as stored, such as opened, resolved, degraded, slow or test. Status is pending, sent or failed. A failed row includes the error. A delivery that fails is tried up to 3 times.

    • Choose Send test on an enabled channel. The page says Test alert sent.
    • Send test waits while the delivery is retried. If every try fails, you see the delivery error instead of Test alert sent.
    • A disabled channel shows Enable the channel before sending a test.
    • Past the limit, you see Too many test alerts for this channel. Try again in an hour.
    • A channel that stores a URL or a secret can fail to save with Channels with a webhook URL, signing secret or bot token can't be saved right now. If this keeps happening, email hello@usegreenbar.com.

    A paused monitor is not checked, so it opens no new incident. Shared monitor settings describes pausing. Each channel has its own page under Alerts.

    Thresholds

    The alert waits for the same counts as the incident. A number of failed checks in a row open it, and the opened alert goes out then. A number of good checks in a row close it, and the resolved alert goes out then.

    • Only a down check counts as a failure. A degraded check does not.
    • While the monitor is down, a check that is not down counts toward the good checks, including a degraded check.
    • Moving between up and degraded does not wait for those counts.
    • A new monitor starts at 2 failed checks and 2 good checks.

    Cron jobs

    A cron job monitor is the exception to the starting counts: it starts at 1 failed check and 1 good check, and it has no fields for them. Heartbeat monitors says how that incident opens and closes.

    Reminders

    Available on Paid plans

    Repeat alerts sends the alert again while an incident a check opened stays open. It goes to every enabled channel. An incident you write yourself is not reminded. Nothing is sent during maintenance, or while the opened alert for that incident is still waiting to go out.

    1. Open Alerts.
    2. Under Repeat alerts, set While an outage stays open.
    3. Choose Don't repeat, or one of Every 15 minutes, Every 30 minutes, Every hour, Every 2 hours and Every 4 hours.
    Repeat alerts, set to Every hour.
    The Repeat alerts card with While an outage stays open set to Every hour, and the note that reminders stop when the outage ends, someone stops them, or the cap is reached.The Repeat alerts card with While an outage stays open set to Every hour, and the note that reminders stop when the outage ends, someone stops them, or the cap is reached.

    They stop when the incident ends, when someone chooses Stop reminders on that incident, when you set Don't repeat, or after 12 have gone out. The list saves as you change it. An interval the list doesn't offer is refused with Choose one of the listed intervals. A reminder that no longer applies when it is due shows dropped in Recent deliveries. That is not an error, and nothing is sent.

    Don't repeat is always saved. An interval is refused when the plan doesn't include repeat alerts, and a saved interval is not sent in that case. The stored choice is left as it is.

    Maintenance

    A maintenance window mutes alerts for the monitors it covers. Checks keep running, and an incident can still open. The opened alert for an incident that opens during the window is held. Degraded and slow alerts are not sent during the window, and a held window does not start the degraded cooldown.

    Scheduled maintenance, under Incidents, explains how to schedule a window, its fields and what you see if it can't be saved.

    When the window ends

    • If the incident is still open and the monitor is down, the held opened alert is sent once.
    • If the monitor recovered during the window, that opened alert is never sent, and no resolved alert is sent for it.
    • Cancel maintenance ends the window. The same rules apply: a monitor that is still down gets the held alert.
    • An incident that opened before the window still sends its resolved alert as soon as the monitor recovers.
    • If an incident opened during a window, its held opened alert was released when the window ended, and that alert has not gone out yet, the resolved alert waits for it so nobody hears recovered first.

    Pausing and PagerDuty

    A PagerDuty incident stays open until something closes it. When an incident that paged a PagerDuty channel ends because the monitor was paused or deleted, someone resolved the incident in the dashboard, or a plan downgrade ended it, Greenbar sends that channel a resolved alert, if the channel is still enabled, the incident ended within the last day, and an alert for it was actually sent. Other channel types get no alert in those cases.