Skip to content

Alerts

Get alerts

When something critical happens, Kiyesi tells you at once, and only once, with the fix. Everything else waits for one email each morning.

Each alert below is raised against a real database in the build pipeline, with stand-ins for Telegram, Slack and the mail server, for every change.

Alert Sent when
Critical A scan finds a new critical problem
Server silent A server has not reported for 5 minutes (30 on the free plan). A managed service only when an agent runs beside it: a quiet app may have no visitors
Site down An uptime check fails twice in a row
Incident A failure’s symptoms open an incident: one alert, with the likely source and the fix
Job A scheduled job failed, did not start when expected, or runs far longer than usual
Database A database will be full within 14 days or is 90% full, its connections are nearly used up, or it cannot be read for 15 minutes
Disk filling A server’s disk will be full within 7 days at the rate it grew over the last day; critical within 2 days. See Know before it breaks
New sign-in Someone signs in to a server over SSH from a country never seen on it, or as root from a network (a provider) root has not used on it. A new address on a network already used, as phones and home connections get all the time, sends nothing. Sent once per network, with This was us in place of Acknowledge
Roll back A deploy’s verdict says to roll back, with the command
Recovered The problem clears, or the server or site comes back
Reminder Once a day while a critical alert stays open and nobody acknowledged it. It says when the alert was first sent, as a clock time

Two more go to one person only, on their own channel: Assigned to you, when someone gives them a piece of work, and Escalated to you, when a critical incident nobody acknowledged reaches their step in your team’s order of who is called.

Each alert names the server, says what is wrong in one sentence, and carries the fix and its buttons: Acknowledge, Open alert and, for a server, Mute 30 min. Kiyesi never sends the same problem twice until it clears, apart from the daily reminder. Warning findings, tips and advisories never raise an alert: they are in the daily digest.

Every alert is critical or a warning, and that decides who hears about it, and how often.

Critical Warning
Your team’s channels (Telegram, Slack, Microsoft Teams, email, webhook, PagerDuty) Sent at once Sent at once
Each person’s own inbox (Email me critical alerts) Sent at once Never one by one: listed in the next daily digest
Daily reminder Yes, until acknowledged or fixed None

What is critical:

  • A scan finds a critical problem, a server goes silent, a site is down, or a critical incident opens.
  • A scheduled job failed. A job that was due but has no recorded run, or one running far longer than usual, is a warning. If Kiyesi later learns the run failed (systemd reports its exit code), the alert becomes critical and is sent again, once.
  • A database is 98% full, or will be full within a day. Filling within 14 days, 90% full, connections nearly used up, or a database Kiyesi cannot read for 15 minutes are warnings; a filling database becomes critical as it gets close.
  • A disk will be full within 2 days.

A new sign-in and news about your credit always reach the people who run the account by email, as they are about the account itself.

Each team has a daily number of alert emails

Section titled “Each team has a daily number of alert emails”

So that one noisy day cannot use up everyone’s email, each team gets up to 30 alert emails a day. Past that, emails are held back: every alert still reaches Telegram, Slack, Teams, webhooks and PagerDuty, and is on the Alerts screen. The next daily digest says how many were held back. Credit emails are never held back.

Channels belong to the team. Adding them needs Manage on settings (the Owner and Admin roles, or a role you made with it), in Settings, Alerts. Each one can cover every project, or only some: choose under New channels get alerts for before adding it, or later with Change projects on the channel. Step by step:

  • Telegram: your own chat or a team group, linked in one tap.
  • Slack: a channel in your own workspace, through an incoming webhook.
  • Email: a team address, your own inbox, and the daily digest.
  • Webhook: any https address, sent as signed JSON, for your own tools.
  • PagerDuty: alerts open PagerDuty incidents, and close them when fixed.
  • Microsoft Teams: a card in a Teams channel, through a Teams Workflow.

If a channel stops working for good (a deleted webhook or Workflow, a bot removed from a chat), Settings, Alerts marks it Stopped working with what the service answered, alerts keep going to your other channels, and the people who run the account get one email. A test that arrives clears the mark.

Then choose Send a test, or from a terminal:

Terminal window
kiyesi alerts # where alerts go, and what is open
kiyesi alerts test # a test message to every channel

In Settings, Your alerts, tick Email me critical alerts. Warnings come in your daily digest instead (see Critical or warning). It starts on for those who run the account (Manage on settings: owners and admins) and off for everyone else. You only ever get alerts about servers and sites you can see, never about servers left out of your access; this is checked when each alert is sent. Someone in several teams gets emails whose subject starts with the team’s name.

If you can be given work, choose under Work given to you goes to where your own alerts arrive: your email, or one of the team’s linked channels.

Acknowledge in a message opens the alert in the dashboard and marks it acknowledged in one step, so your team can see someone is on it. An acknowledged alert gets no daily reminder. In a message about work given to you, Acknowledge opens Assigned work and asks you to confirm first, because some email security scanners open links by themselves.

During planned work, mute a server so it sends nothing. Every mute has an end:

Terminal window
kiyesi mute checkout-api-prod 30m
kiyesi mute checkout-api-prod off

Or on the server’s page in the dashboard, choose how long and Mute.

A short, friendly message to a Telegram chat or Slack channel each morning, for the whole team:

🔴 Morning brief · Saturday 24 October
⛈ Good morning. 6 critical alerts need you now.
checkout-api-prod: B 80
checkout-db-prod: A 95
staging-1: D 45
storefront-web-prod: A 95
worker-prod: C 60
Today's one thing, on checkout-api-prod: renew-certificates failed with exit code 1.
kiyesi jobs renew-certificates
Change the time or turn the brief off: Settings, Alerts.
[ Open Kiyesi ]

This one is from the demo team on a bad morning. It opens with how the night went: plain about it when alerts are open, as here, and sunny when nothing broke (“☀️ Good morning. A quiet night: all 3 servers are at A.”). Then each server’s grade and what changed, anything worth a cheer, and the one thing to do today with its exact command: an open critical alert first, then a critical finding, then what sudo kiyesi fix can make. A channel for some projects gets only their servers.

Turn it on in Settings, Alerts: tick Morning brief on a Telegram or Slack channel, and choose the time. It uses the time zone of the browser that turned it on. It needs Manage on settings. Email has the daily digest below instead, for owners and admins.

On Mondays the brief adds one line about money, when there is something to save: “💸 You could save USD 36 a month on servers larger than they need to be, or idle: see Costs.” It comes once a week so it never nags; see what you could save.

Milestones are cheered in the brief, and on the Servers screen: 7, 30, 100 and 365 days in a row with nothing critical (30 calm days: a milestone), and a server reaching grade A.

With credit, those who run the account (Manage on settings: owners and admins) get one email each morning: every server’s grade and what changed since yesterday, its warnings, sites down, open alerts, and new advisories and tips, which are never sent on their own. It arrives at 07:00 in your own time zone; change the time in Settings, Your alerts.