Document Livepatch alerts
CI / tests (Python 3.10) (pull_request) Successful in 27s
CI / tests (Python 3.11) (pull_request) Successful in 26s
CI / tests (Python 3.12) (pull_request) Successful in 26s
CI / tests (Python 3.13) (pull_request) Successful in 27s
CI / lint (pull_request) Successful in 5s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
patrickandClaude Sonnet 5.5 committed 2026-10-30 12:18:40 -04:00
1 parent 650806bfce
commit 83d5e58ea5
3 files changed
+18 -1

No files matched your search

+12
View File
@@ -58,6 +58,18 @@ fresh report. Run `sudo kernelwatch check-alerts` to check immediately, or inspe
Upgrading starts the clock at the first check, so expect the first
notifications a day after you re-run `install.sh`.
- **Livepatch alerts.** On Ubuntu hosts using
[Livepatch](how-it-works.md), a host whose live patching has been broken for
`livepatch_alert_after_hours` (default 6) gets one high-priority notification:
an unhealthy state (not `applied` or `nothing-to-apply`), a failed check, or an
unsupported kernel. It also fires when a host that *used to* report Livepatch
stops, which is what a dead Livepatch daemon looks like, since the agent then has
nothing to send. Hosts that have never reported Livepatch never alert. As with the
other alerts it's once per problem; getting healthy again re-arms it, and a brief
blip that clears within the period sends nothing. Stale hosts are skipped. A host
where you turn Livepatch off on purpose sends one message and then stays quiet.
`livepatch_alert_after_hours = 0` turns these off.
Use the topic's direct publish URL, with token authentication if needed; it must
accept the POST without a browser login or redirect. The topic and token stay
in the server config (root-owned, readable by the `kernelwatch` service group).