Cluster alert needs network evidence; flapping NICs count once #59

Merged
jared merged 1 commits from fix/no-network-without-evidence into main 2026-11-23 23:37:28 -05:00
1 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 7abe611adb Cluster alert needs network evidence; flapping NICs count once
Lint / JS (eslint) (push) Successful in 13s
Lint / Python (flake8) (push) Successful in 1m7s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Security / Python Security (bandit) (push) Successful in 1m8s
Test / Python Tests (pytest) (push) Successful in 1m23s
Lint / Python (flake8) (pull_request) Successful in 1m9s
Lint / JS (eslint) (pull_request) Successful in 32s
Lint / Notify on failure (pull_request) Skipped
Lint / Deploy (pull_request) Skipped
Security / Python Security (bandit) (pull_request) Successful in 1m37s
Test / Python Tests (pytest) (pull_request) Successful in 1m53s
A host OOM stall on 2026-11-23 timed out one scrape on three hosts while
every switch link stayed up, and Gandalf opened a P1 network ticket on a
single poll (Tinker 615797777).

- A missing host counts toward the cluster check only after
  failure_threshold checks, not one missed scrape.
- The cluster P1 needs network evidence: a NIC link-down, or a missing
  host whose switch ports aren't all visibly up (unknown wiring counts as
  evidence). Without it, record a cluster_hosts_stalled warning with no
  ticket, naming hosts with recent OOM kills.
- The cluster ticket waits for consecutive checks like every other alert.
- A NIC that drops 3+ times in an hour is flapping: one standing alert,
  excluded from the cluster count.

Closes #57

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 23:34:38 -05:00