A Ceph section in Thor that covers everything the Proxmox Ceph panels show and goes further: history for every number, a mapping from each OSD to its physical drive, and direct answers to the questions we end up working out by hand during maintenance.
This also settles thor#1 question 6 (headless vs UI): Thor gets a UI, following gandalf's patterns (Flask + MariaDB + monitor loop, the same terminal look).
Data sources (already available)
Prometheus (10.10.10.48):648 ceph_* series are already scraped, including per-daemon BlueStore/BlueFS counters. Use these for anything time-series.
Ceph mgr / CLI (JSON): use these for current state: ceph status, osd tree, osd df tree, pg ls-by-osd, osd pool ls detail, crash ls, health detail, osd safe-to-destroy, osd ok-to-stop. Query read-only, from one place, off the cluster nodes (thor#1 Q1).
hwmonDaemon serial-keyed SMART (hwmonDaemon#41) and the drive registry (thor#2), for the OSD → drive → bay → HomeBox link.
Parity with Proxmox
Health, with every check expanded (code, message, affected daemons)
Monitors, managers and MDS (quorum, active/standby)
OSD list (up/in, class, weight, reweight, use %, PGs, commit/apply latency) and pools (size/min_size, rule, PGs, autoscale, use)
Cluster IOPS / throughput / latency graphs
CRUSH map and rules
Better than Proxmox
Per-OSD history: fill %, PG count, latency, slow ops and BlueStore counters over weeks, not just "now". Click through from an OSD to its drive page (thor#2), and from there to SMART history and HomeBox.
Recovery / backfill tracker: misplaced and degraded objects over time, current rate, ETA, and which PGs are on which OSDs. On 2026-11-15 we computed "~145k objects at 26 obj/s ≈ 1.5–2.5 h" by hand. Thor should show it.
Maintenance answers (read-only checks):
"Can I stop/pull osd.N?" → ok-to-stop / safe-to-destroy, plus which PGs drop to min_size and which pools they belong to.
"What if host X goes down?" → capacity after the loss, whether the remaining hosts can re-replicate under the current CRUSH rules, and which pools would go inactive.
A drive-swap checklist page for a given OSD: set noout → drain → purge → swap → create → reweight → unset flags → restart smartd. Each step shows its live status. Include the compute-storage-01 hot-plug warning (bay 6 swaps power-reset bays 8/9).
Things that silently linger: flag these and ticket them after a threshold:
Cluster flags set for more than N hours (noout, nobackfill, norecover, norebalance). noout was set the whole of 2026-11-15 to 11-24.
Unarchived crashes. Show the list, with a one-click archive once a crash is explained.
BLUESTORE_SLOW_OP_ALERT. It's been active on osd.0/4/6/14/21 for over a week. Show which OSDs, since when, and correlate with latency, SMART and host load.
Manual reweights below 1.0 (osd.2 0.5, osd.15 0.5, osd.19 0.75, osd.28 0.85). Show who set them and why, if known, and whether they're still needed.
Scrubs/deep-scrubs that are overdue, by PG and pool.
Capacity planning:
Per-pool and per-device-class usage trend, with a projected "nearfull" date.
Host balance: raw capacity per host vs CRUSH weight, and the PG spread.
Replacement candidates, from thor#2's analyzeOSDs successor (counting bay usage).
Ticketing: follow the thor#1 contract. Ceph health becomes one cluster-wide ticket per root cause, taking over hwmonDaemon#29 / #35 per hwmonDaemon#40.
Out of scope (for now)
Write actions (setting flags, reweighting, purging). Show the exact command to run instead. Revisit once the read-only side is trusted.
## Goal
A Ceph section in Thor that covers everything the Proxmox Ceph panels show and goes further: history for every number, a mapping from each OSD to its physical drive, and direct answers to the questions we end up working out by hand during maintenance.
This also settles thor#1 question 6 (headless vs UI): Thor gets a UI, following gandalf's patterns (Flask + MariaDB + monitor loop, the same terminal look).
## Data sources (already available)
- **Prometheus (10.10.10.48):** **648 `ceph_*` series** are already scraped, including per-daemon BlueStore/BlueFS counters. Use these for anything time-series.
- **Ceph mgr / CLI (JSON):** use these for current state: `ceph status`, `osd tree`, `osd df tree`, `pg ls-by-osd`, `osd pool ls detail`, `crash ls`, `health detail`, `osd safe-to-destroy`, `osd ok-to-stop`. Query read-only, from one place, off the cluster nodes (thor#1 Q1).
- **hwmonDaemon serial-keyed SMART** (hwmonDaemon#41) and the drive registry (thor#2), for the OSD → drive → bay → HomeBox link.
## Parity with Proxmox
- Health, with every check expanded (code, message, affected daemons)
- Monitors, managers and MDS (quorum, active/standby)
- OSD list (up/in, class, weight, reweight, use %, PGs, commit/apply latency) and pools (size/min_size, rule, PGs, autoscale, use)
- Cluster IOPS / throughput / latency graphs
- CRUSH map and rules
## Better than Proxmox
**Per-OSD history:** fill %, PG count, latency, slow ops and BlueStore counters over weeks, not just "now". Click through from an OSD to its drive page (thor#2), and from there to SMART history and HomeBox.
**Recovery / backfill tracker:** misplaced and degraded objects over time, current rate, **ETA**, and which PGs are on which OSDs. On 2026-11-15 we computed "~145k objects at 26 obj/s ≈ 1.5–2.5 h" by hand. Thor should show it.
**Maintenance answers (read-only checks):**
- "Can I stop/pull osd.N?" → `ok-to-stop` / `safe-to-destroy`, plus which PGs drop to `min_size` and which pools they belong to.
- "What if host X goes down?" → capacity after the loss, whether the remaining hosts can re-replicate under the current CRUSH rules, and which pools would go inactive.
- A drive-swap checklist page for a given OSD: set noout → drain → purge → swap → create → reweight → unset flags → restart smartd. Each step shows its live status. Include the **compute-storage-01 hot-plug warning** (bay 6 swaps power-reset bays 8/9).
**Things that silently linger:** flag these and ticket them after a threshold:
- Cluster flags set for more than N hours (`noout`, `nobackfill`, `norecover`, `norebalance`). `noout` was set the whole of 2026-11-15 to 11-24.
- Unarchived crashes. Show the list, with a one-click archive once a crash is explained.
- `BLUESTORE_SLOW_OP_ALERT`. It's been active on osd.0/4/6/14/21 for over a week. Show which OSDs, since when, and correlate with latency, SMART and host load.
- Manual reweights below 1.0 (osd.2 0.5, osd.15 0.5, osd.19 0.75, osd.28 0.85). Show who set them and why, if known, and whether they're still needed.
- Scrubs/deep-scrubs that are overdue, by PG and pool.
**Capacity planning:**
- Per-pool and per-device-class usage trend, with a projected "nearfull" date.
- Host balance: raw capacity per host vs CRUSH weight, and the PG spread.
- Replacement candidates, from thor#2's analyzeOSDs successor (counting bay usage).
**Ticketing:** follow the thor#1 contract. Ceph health becomes one cluster-wide ticket per root cause, taking over hwmonDaemon#29 / #35 per hwmonDaemon#40.
## Out of scope (for now)
Write actions (setting flags, reweighting, purging). Show the exact command to run instead. Revisit once the read-only side is trusted.
## Related
thor#1 · thor#2 · hwmonDaemon#29, #35, #40, #41
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Goal
A Ceph section in Thor that covers everything the Proxmox Ceph panels show and goes further: history for every number, a mapping from each OSD to its physical drive, and direct answers to the questions we end up working out by hand during maintenance.
This also settles thor#1 question 6 (headless vs UI): Thor gets a UI, following gandalf's patterns (Flask + MariaDB + monitor loop, the same terminal look).
Data sources (already available)
ceph_*series are already scraped, including per-daemon BlueStore/BlueFS counters. Use these for anything time-series.ceph status,osd tree,osd df tree,pg ls-by-osd,osd pool ls detail,crash ls,health detail,osd safe-to-destroy,osd ok-to-stop. Query read-only, from one place, off the cluster nodes (thor#1 Q1).Parity with Proxmox
Better than Proxmox
Per-OSD history: fill %, PG count, latency, slow ops and BlueStore counters over weeks, not just "now". Click through from an OSD to its drive page (thor#2), and from there to SMART history and HomeBox.
Recovery / backfill tracker: misplaced and degraded objects over time, current rate, ETA, and which PGs are on which OSDs. On 2026-11-15 we computed "~145k objects at 26 obj/s ≈ 1.5–2.5 h" by hand. Thor should show it.
Maintenance answers (read-only checks):
ok-to-stop/safe-to-destroy, plus which PGs drop tomin_sizeand which pools they belong to.Things that silently linger: flag these and ticket them after a threshold:
noout,nobackfill,norecover,norebalance).nooutwas set the whole of 2026-11-15 to 11-24.BLUESTORE_SLOW_OP_ALERT. It's been active on osd.0/4/6/14/21 for over a week. Show which OSDs, since when, and correlate with latency, SMART and host load.Capacity planning:
Ticketing: follow the thor#1 contract. Ceph health becomes one cluster-wide ticket per root cause, taking over hwmonDaemon#29 / #35 per hwmonDaemon#40.
Out of scope (for now)
Write actions (setting flags, reweighting, purging). Show the exact command to run instead. Revisit once the read-only side is trusted.
Related
thor#1 · thor#2 · hwmonDaemon#29, #35, #40, #41