feat(homelab): 藝祭の展示 Pi を gatus で外から見る - #546
Open
gapul wants to merge 1 commit into
Open
Conversation
展示機は自分が落ちたことを自分では報せられない。電源が抜けても、回線が 切れても、固まっても、通知を出す側が一緒に死ぬ。会期中に無言になっている ことに誰も気付けない形だった。 HTTP は喋らないので tcp で 22 を叩く。tailnet 越しなので、会場が有線でも テザリングでも経路は変わらない。 会期 (2026-09-04〜06) が終わったらこの項目ごと消す。監視だけ残ると、 片付けた機械について半年後に赤い通知が飛ぶ。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
何を
会場に置く展示機 (Raspberry Pi) を gatus の監視対象に追加する。
なぜ
展示機側には起動通知と
gyoza-loopの失敗通知を仕込んだが、これは Pi が生きている間しか働かない。電源が抜けても、回線が切れても、カーネルごと
固まっても、通知を出す当人が一緒に死ぬので何も飛ばない。会期中に黙り込んで
いることに誰も気付けない形になっていた。
外から叩けばその穴が塞がる。HTTP は喋らないので tcp で 22 を見る。
tailnet 越しなので、会場が有線でもテザリングでも経路は変わらない。
後始末
会期は 2026-09-04〜06。終わったらこの項目ごと削除する。監視だけ残すと、
片付けた機械について半年後に赤い通知が飛ぶ。コード中のコメントにも書いた。
確認
nix fmt— 変更なしnix eval .#nixosConfigurations.homeserver...drvPath— 成功just docs— 差分なし