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
5 changes: 3 additions & 2 deletions stacks/observability/prometheus/rules/host.rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,9 @@ groups:
The cell's full charge as its firmware measures it, against the
capacity it was built with. Below 80 % the runtime on a mains cut
is a guess, and a cell this far into its life is also the one that
swells. Order the replacement — docs/runbooks/fit-the-ups-battery.md
says what to check after the swap.
swells. Order the replacement —
docs/runbooks/replace-the-laptop-cell.md says what to check before
and after the swap.

- alert: HostBatteryNotReported
# A laptop that should have a battery and reports none: the cell was
Expand Down
8 changes: 4 additions & 4 deletions stacks/observability/prometheus/tests/host.test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,8 @@ tests:
capacity it was built with. Below 80 % the runtime on a mains
cut is a guess, and a cell this far into its life is also the
one that swells. Order the replacement —
docs/runbooks/fit-the-ups-battery.md says what to check after
the swap.
docs/runbooks/replace-the-laptop-cell.md says what to check
before and after the swap.

# --- HostBatteryHealthLow: the energy_* spelling counts too ---------------
# A driver reporting watt-hours instead of amp-hours. 30 of 50 is 60 %.
Expand Down Expand Up @@ -1103,8 +1103,8 @@ tests:
capacity it was built with. Below 80 % the runtime on a mains
cut is a guess, and a cell this far into its life is also the
one that swells. Order the replacement —
docs/runbooks/fit-the-ups-battery.md says what to check after
the swap.
docs/runbooks/replace-the-laptop-cell.md says what to check
before and after the swap.

# --- HostBatteryHealthLow: QUIET for prometheus's real reading -------------
# 6.196 Ah of 6.6 Ah is 94 %, read on 2026-09-12 after 108 cycles. Without
Expand Down
Loading