Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions docs/runbooks/build-the-analyst-workstation.md
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,14 @@ facts make that so:
update by its origin's security pocket, so
`homelab_apt_security_upgrades_pending{host="garuda"}` is always 0.
`homelab_apt_upgrades_pending{host="garuda"}` does count what is behind.
- Nothing alerts on either number, or on a pending reboot. `garuda`'s Alloy
writes only to the lab's Prometheus on `alexander`
(`stacks/analyst/compose.yaml`), which has no apt or reboot rules and no
Alertmanager (ADR-0020). `SecurityUpdatesPending` and `RebootRequired` live
in `stacks/observability` and never see `garuda`.
- Nothing tells you about either number, or about a pending reboot. `garuda`'s
Alloy writes only to the lab's Prometheus on `alexander`
(`stacks/analyst/compose.yaml`). Since [#1544](https://github.com/Gerrrt/HomeLab/pull/1544) that Prometheus has its own
`SecurityUpdatesPending` and `RebootRequired`, which read `garuda`, but the
first never fires on a count that is always 0, nothing alerts on
`homelab_apt_upgrades_pending`, and the lab has no Alertmanager (ADR-0020).
A reboot pending for three days shows only on the lab's `/alerts` page. The
estate's rules in `stacks/observability` never see `garuda`.

So the upgrade is a person's job. **Monthly**, on `garuda`:

Expand Down
6 changes: 4 additions & 2 deletions docs/runbooks/schedule-maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,10 @@ origin only** — a package named `security-misc` would otherwise count itself.
**On Kali the security count is always 0, and that means "cannot tell".**
Kali Rolling has no security pocket, so the fallback finds none. `garuda` is
outside these rules in any case: it reports only to the lab's Prometheus on
`alexander`, which has no apt or reboot rules and no Alertmanager (ADR-0020),
so neither `SecurityUpdatesPending` nor `RebootRequired` sees it. Kali's packages also do not
`alexander`. That Prometheus has its own `SecurityUpdatesPending` and
`RebootRequired` since [#1544](https://github.com/Gerrrt/HomeLab/pull/1544), and they do read `garuda`, but the first never
fires on a count that is always 0, and the lab has no Alertmanager (ADR-0020),
so a pending reboot shows only on the lab's `/alerts` page. Kali's packages also do not
match the Debian origins `unattended-upgrades` allows, so nothing applies them
on their own. [`build-the-analyst-workstation.md`](build-the-analyst-workstation.md)
§15 makes the upgrade a monthly manual step.
Expand Down