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
29 changes: 29 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,35 @@ roadmap as it read that day, and the *Done* entries keep the shape they had
there. `check_docs.py` does not check this file, for the reason its module
docstring gives: it is a record, not a claim about now.

## 2026-11-23

- **`mjolnir`'s card was silent for eight days, and the UPS shutdown was
disarmed for at least two of them.** This records what the 2026-11-13
read-only audit of `mjolnir` found and no entry had written down.
- **The card.** It answered no SNMP from about 01:40 UTC on 2026-10-30 to
about 22:30 on 2026-11-06 (`up{device="mjolnir"}` 0 throughout, measured
at five-minute steps). `InstanceDown`, `SnmpTargetUnreachable` and
`EndpointUnreachable` fired the whole time, and nothing acted on them.
- **NUT.** `morpheus`'s own log keeps about a week. It began on 2026-11-05
with `upsmon` logging *Poll UPS [mjolnir] failed - Driver not connected*,
and went on doing so until 20:59 on 2026-11-07, 23,048 times. Its NUT
configuration files were rewritten at 12:56 on 2026-11-08. For as long as
the driver was down, a mains cut would have halted nothing in order, and
every host would have dropped when the pack ran out.
- **The cause is not established.** The card came back during the move into
the 32U rack ([#919](https://github.com/Gerrrt/HomeLab/issues/919)), but
it went silent a week before that started, and the card's event log, which
would say, has not been read.
- **What no rule could see.** The card-silence alerts are generic, and
nothing watches NUT itself: a driver that stays down while the card
answers SNMP would raise nothing at all. On 2026-11-22 `morpheus` still
logged 190 to 320 *data stale* or *communications lost* lines a day, each
spell lasting one to ten seconds.
- **The low battery duration is under *Configuration → Shutdown*.**
[`shut-down-on-the-ups.md`](runbooks/shut-down-on-the-ups.md) §0.2 had sent
the operator to *Configuration → UPS → General*, which does not have it.
§3.8 and §6.5 send you back to 0.2, so the one fix corrects all three.

## 2026-11-22

- **`gandalf`'s two audit leftovers are cleared
Expand Down
24 changes: 13 additions & 11 deletions docs/runbooks/shut-down-on-the-ups.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,17 +179,19 @@ Stop and fix that first — every later step depends on reaching this card.
### 0.2 Change it at the card

1. Open `https://10.0.99.10` in a browser and log in.
2. Go to **Configuration → UPS → General** (on AOS 2.x; on an older firmware
it is **UPS → Configuration**).
3. Find the field for **low battery duration**. It is the setting whose value
is currently **2** and whose units are minutes.
4. Change it to **8**.
5. Apply or Save.

**The label wording varies by firmware.** It is the only setting on that page
measured in minutes and currently reading 2. If two fields could match, come
back and confirm with 0.3 rather than guessing — 0.3 reads the exact object
you need to have changed.
2. Go to **Configuration → Shutdown**. The field is under *Start of
Shutdown* and is labelled **Low Battery Duration**, in minutes.
3. Change it to **8**.
4. Apply or Save.

**Not *Basic Low Battery Duration*.** The same page has that field under
*Basic Signaling Shutdown*. It is for a simple-signaling cable, and nothing
here uses one; `snmp-ups` and 0.3 read the other field. This step used to
send you to *Configuration → UPS → General*, where the field is not; the
operator caught that on 2026-11-14. APC's NMC3 user guide for the AP9640,
AP9641 and AP9643 puts it under *Configuration → Shutdown*. On the card's command line the same field is `cfgshutdn -lo <minutes>`, and
`cfgshutdn -all` reads it back. 0.3 is still the check either way, because it
reads the exact object you need to have changed.

### 0.3 Confirm it took

Expand Down