Ceph moves from hwmonDaemon to Thor (thor#3, decisions in comment 7206).
One incident per Ceph health code (cluster:ceph:<CODE>), down OSDs per host
(host:<host>:osd_down), cluster flags left set 24 h (cluster:ceph_flag:<flag>),
mon quorum, and a 60-day nearfull forecast. Priorities and timing come from
one rules table in thor/checks/ceph.py, which the new /rules page renders.
Engine:
- per-incident timing (hold_s / clear_s): a P3 waits 15 min, a P4 2 h and
clears after 6 h quiet; one that stops before then is dropped unsent;
- standing warnings (explains False) never explain or cover anything, and
don't keep a cause open when filed under it (extends False);
- a host cause on a Ceph host can explain cluster-wide Ceph fallout;
- a warning that outlasts the cause it was filed under becomes its own,
timed from when that cause cleared;
- known conditions match a flag by name (noout -> 693930698).
Also: the incident page no longer shows an attached ticket as Thor's
(same bug as #12, in the view), and the replays keep their incident
assertions with standing Ceph problems checked separately. Fixtures gained
the new Ceph series only (--ceph-only), so no Loki data was re-recorded.
Co-Authored-By: Claude Opus 5.5 <[email protected]>