From 201a1c5f4b21a1fe2e0dd78ae3818c9bd04cae2f Mon Sep 17 00:00:00 2001 From: patrickbeane Date: Thu, 29 Oct 2026 21:17:40 -0400 Subject: [PATCH] Document hostname check Co-Authored-By: Claude Sonnet 5.5 --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 8e30bce..b3509ed 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,13 @@ How the agent works it out: - **Agent version**: each report includes it. Hosts running an older agent than the server shipped with get a note to run `agent/deploy.sh`; their status isn't changed. +- **Hostname check**: each report includes the host's own name. If its first + DNS label differs from the name the host is registered under (ignoring case), + the row gets a note: "registered as web01 but reports itself as db01". This + catches a token copied to the wrong machine. It never changes the status. A + host you registered under a custom label (` ` in + `agent/hosts`) will always show the note; register it under its `hostname -s` + to clear it. - **Available updates**: a simulated `apt-get dist-upgrade`. It is read-only, takes no locks and writes no cache files. `dist-upgrade` is used so that new-ABI kernel packages pulled in by the meta-package show up. Lines whose origin contains