Other ways in
Work from the terminal
The kiyesi command does everything the dashboard does, with the same words. On Linux, macOS and Windows.
An incident is found, read, acknowledged and marked fixed with the kiyesi command alone, against a real API, worker and database, in the build pipeline for every change.
While a command waits on the service, a small mark (an accent over an amber dot) moves beside a few words on what it is doing, such as Reading incidents…. After three seconds it also shows how long it has waited. It never appears when the output goes to a file or another program, with --json, or when KIYESI_NO_SPINNER=1 is set. With NO_COLOR set, it appears without colour.
What needs you now
Section titled “What needs you now”kiyesiAlone, kiyesi lists what needs you, most urgent first, each with the command to run next: open incidents (a critical one nobody has acknowledged comes first), work given to you, sites not answering, servers that stopped reporting, and servers with critical findings. The last line is the one command to run now.
NEEDS YOU NOW INC-6 is open: staging-1 stopped reporting. Nobody has acknowledged it. kiyesi incident INC-6 INC-5 is open: worker-prod stopped reporting. Nobody has acknowledged it. kiyesi incident INC-5 INC-4 is open: checkout-api-prod answering with server errors. kiyesi incident INC-4 staging-1 has 2 critical findings. kiyesi findings staging-1 worker-prod has 2 critical findings. kiyesi findings worker-prod checkout-api-prod has a critical finding. kiyesi findings checkout-api-prod
Next: kiyesi incident INC-6A live view
Section titled “A live view”kiyesi watchWhat needs you, open incidents and every server with its grade, CPU, memory, disk and last report, refreshed in place every 15 seconds. Move with the arrow keys, press enter for an incident’s evidence or a server’s findings, o to open it in the browser, r to refresh now and q to quit. Piped into a file or another command, it prints the view once and stops.
An incident from start to finish
Section titled “An incident from start to finish”kiyesi incidents # what is open, with the likely sourcekiyesi incident INC-4 # the evidence, the timeline and the suggested fixkiyesi assign INC-4 Amara # give it to someone, or to yourself with "me"kiyesi ack INC-4 # your team sees someone is on itkiyesi resolve INC-4 --note "Rolled back to 2.13.4"The note is shown first next time the same failure happens. For more on how the source is named, see Handle an incident.
Findings and their fixes
Section titled “Findings and their fixes”kiyesi findings # every server, worst firstkiyesi findings checkout-api-prod --severity criticalEach finding is one sentence, why it matters, and the command that fixes it. Review it and run it yourself: Kiyesi never changes the server. On the server, sudo kiyesi fix lists them all, with why each matters.
Narrow any list
Section titled “Narrow any list”--project and --env work on every list:
kiyesi servers --project Checkout --env productionkiyesi incidents --env stagingkiyesi --project "Demo client"They only narrow what your access already shows. A project name that does not exist says so, and kiyesi projects lists them.
For scripts
Section titled “For scripts”Every command that prints data takes --json. The shape is version 1: later versions only add fields, so scripts keep working. Exit codes: 0 fine, 1 a finding at the level given to kiyesi scan --fail-on, or a “wait” from kiyesi preflight, 2 a mistake in the command, 3 the service cannot be reached or does not allow it.
kiyesi findings --severity critical --json | jq lengthMore from the terminal
Section titled “More from the terminal”kiyesi preflight checkout-api-prod # safe to deploy? go or wait, with the reasonskiyesi explain INC-4 # a plain paragraph for a clientkiyesi passport checkout-api-prod # what runs on it, ports, jobs, people and how-tokiyesi drill # a practice incident through the escalation stepskiyesi costs --currency EUR # costs in any currencyOpen it in the browser
Section titled “Open it in the browser”kiyesi open INC-4kiyesi open checkout-api-prodkiyesi open creditIt prints the address too, for a server with no browser.
Tab completion
Section titled “Tab completion”The installer adds completion for bash, zsh and fish when they are installed. Press Tab after a command to complete server names, incident numbers, teammates and projects. For a shell set up another way:
kiyesi completion zsh > "${fpath[1]}/_kiyesi"kiyesi completion bash | sudo tee /usr/share/bash-completion/completions/kiyesikiyesi completion fish > ~/.config/fish/completions/kiyesi.fishKeep it up to date
Section titled “Keep it up to date”kiyesi update --checksudo kiyesi updatesudo kiyesi update --backIt downloads the newest release, checks its signature with the key built into kiyesi and the file’s checksum, replaces the program in one step, and restarts the agent if it runs. Nothing changes if any check fails, and nothing ever updates by itself.
Each update keeps the version it replaces beside the program. sudo kiyesi update --back puts it back in one step and restarts the agent on it; running it again goes forward once more.
How you hear that a new kiyesi is out
Section titled “How you hear that a new kiyesi is out”- In the terminal. At most once a day, a command you run ends with one line, such as “kiyesi 0.44.1 is out: run sudo kiyesi update”, once the release has been out three days, or “… is out and fixes a security problem …” for a security release, at once. kiyesi asks get.kiyesi.dev at most once a day, believes only the release’s signed list, and never waits more than 3 seconds for it. The line goes to the error stream, so scripts reading the output never see it, and it never follows
--json, the agent’s own service orkiyesi update. To turn it off:KIYESI_NO_UPDATE_NOTICE=1. - On the dashboard. The Servers list marks a server whose agent is behind, and its page says, for example, “Agent 0.43.0 · 0.44.0 is out”, with
sudo kiyesi updateto copy. A new version is shown in stages, so a bad one reaches few servers: first on Kiyesi’s own servers for a day, then to some teams, then to all by the third day. A security release is shown to everyone at once. - By email, for a security release only. When a release fixes a security problem, the owners of each team with a server on an older kiyesi get one email, naming those servers. Ordinary releases send no email.
If something goes wrong
Section titled “If something goes wrong”- “You are signed out”: run
kiyesi login. - “There is no project …”: check the name with
kiyesi projects; any case works. - Tab completion offers nothing: sign in first; names come from your account, and completion gives up after two seconds rather than make you wait.
- “Cannot change /usr/local/bin/kiyesi as this user”: run
sudo kiyesi update.