Article · 5 min read · Servers and performance

kubespin: Alarms and alerting

What kubespin tells you about, where you see it, and what’s planned.

What kubespin tells you about, where you see it, and what’s planned.

Where notices appear

Every alert is a notification inside kubespin. Open them from Notifications at the top of the page. Each one links to the page it’s about, such as the server tab or the failed run. Mark all read clears the count.

Messages on a page close by themselves after a few seconds (errors after 15), with a bar showing the time left. Hovering keeps one open.

Alert emails

Settings › Notifications chooses which alerts also arrive by email, under Email me when…:

Alert Emailed unless you turn it off
A server goes offline Yes
A server has a problem (DNS fell back, a check failed…) Yes
A deploy fails Yes
A deploy succeeds No: turn it on to have it
Security findings (vulnerabilities, malware, failed scans) Yes
A backup fails Yes
Team invitations Yes
Billing Yes

The same alert isn’t emailed twice within 30 minutes. Each email links to the page in kubespin. The page shows the address they go to, and says if whoever runs kubespin hasn’t set up email yet; your choices are kept until then.

kubespin also emails you about your account, whatever you choose here: email confirmation, password resets, a passkey added or removed, a password change, account deletion, your trial ending, and your use reaching a plan’s limits.

What you’re told about

Servers

Notice When
Server hasn’t been heard from No report for 30 minutes. Clears if it reports again.
Server is low on disk Less than 2 GB free after tidying
Container keeps restarting A container is stuck restarting (at most once an hour each)
Security updates have waited more than 7 days Automatic updates are off or failing
A reboot has been needed for more than 7 days After updates that need one
Automatic OS updates failed In the maintenance hour
Onboarding failed, or Server onboarded When onboarding ends
Servers left a group Servers in an ephemeral group were retired, with one summary
Board is under-voltage, throttling or running hot A board reports it. See kubespin: Boards and what kubespin reads.
Server is on battery and kept awake Below 15%, off mains, while kept awake. See kubespin: Sleep and keep awake.
Server went back to its own DNS Your Pi-hole didn’t answer 3 times running. See kubespin: One DNS for all your devices.

Apps and images

Notice When
Deployment failed, or Deployment succeeded Each deploy. “Deployment failed” opens the logs on the failed run.
App: action failed An update, restart or other action failed
Server: critical vulnerabilities with a fix A running image has one
An image scan failed With the reason, also shown on the image
App: built images didn’t reach your registry After a build, with the reason
An agent update couldn’t go ahead With the reason
Malware found In an image, a WordPress site or a backup. An infected image isn’t deployed. See kubespin: Malware scanning.
App: high-risk security finding A security test found one. See kubespin: Security tests.

WordPress

Notice When
Site: new security findings New critical or high findings
Site: updates waiting With the Manual — notify me policy
Site: updates did not go through An update was put back

Backups and accounts

Notice When
Connect OneDrive again The OneDrive sign-in has ended
Your trial ends soon, or has ended 4 days and 1 day before, and when it ends (also by email)
You’re at 80%, or 100%, of a limit Servers, apps, schedules, webhooks and the like, once each until use drops back (also by email). See kubespin: Cancelling, downgrades and limits.
A payment failed While Stripe retries the card (also by email)
Registry images will be removed Days 23 and 29 after your registry space ends (by email)
You’re invited to team A team leader invited you

Superadmins are also told once when automatic image patching is paused because kubespin can’t reach its BuildKit.

Choosing them from the API

GET /api/v1/account/notifications lists each kind of alert and whether it’s emailed. PUT /api/v1/account/notifications with, for example, {"email": {"deployment_succeeded": true}} changes it. These are your own choices, even while you work in a team.

Repeated notices

Notices that could repeat are sent once per period, for example once an hour for a restarting container, or once a week for an optimisation that was undone.

Watching an app from outside

kubespin doesn’t check your apps from outside yet. For that, install Uptime Kuma from Apps on a different server from the apps it watches, and point it at their addresses. See kubespin: Install a ready app.

Planned

  • A daily digest of alerts by email, instead of each one straight away.
  • SMS to the owner on Pro and Team, with a link to the server’s page, a monthly allowance and quiet hours.