From e5a822796f8c4a92f1e9df38fe1eb36188aff362 Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Mon, 23 Nov 2026 05:09:51 +0000 Subject: [PATCH] =?UTF-8?q?docs(ups):=20record=20mjolnir's=20eight=20silen?= =?UTF-8?q?t=20days,=20and=20fix=20=C2=A70.2's=20menu=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 2026-11-13 audit found the card silent from 10-30 to 11-06 and NUT's driver down until 11-07, with no changelog entry. This writes it down. §0.2 sent the operator to Configuration → UPS → General; the low battery duration is under Configuration → Shutdown. Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 29 +++++++++++++++++++++++++++ docs/runbooks/shut-down-on-the-ups.md | 24 ++++++++++++---------- 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 7be0ca68..651a82b5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -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 diff --git a/docs/runbooks/shut-down-on-the-ups.md b/docs/runbooks/shut-down-on-the-ups.md index a65ae1c3..1fed76d8 100644 --- a/docs/runbooks/shut-down-on-the-ups.md +++ b/docs/runbooks/shut-down-on-the-ups.md @@ -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 `, 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