aboutsummaryrefslogtreecommitdiff
path: root/configs/maintenance-thresholds.toml
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-07 20:51:12 -0500
committerCraig Jennings <c@cjennings.net>2026-07-07 20:51:12 -0500
commit747a9df22615927adbffb332cbcab721672b98e2 (patch)
treeb7035ef5e9f0d2c97b0eb8a5471a44b0511ba17b /configs/maintenance-thresholds.toml
parentd434ba874d3b449142e1cb08f001cac67bb4064a (diff)
downloadarchsetup-747a9df22615927adbffb332cbcab721672b98e2.tar.gz
archsetup-747a9df22615927adbffb332cbcab721672b98e2.zip
feat: storage threshold keys + close build Phase 2
The TOML gains the Phase 2 storage bands (btrfs unallocated floor, SMART wear/temp, fstrim staleness, top-consumers scan knobs). Collectors shipped in dotfiles; installed copies refreshed on ratio and velox.
Diffstat (limited to 'configs/maintenance-thresholds.toml')
-rw-r--r--configs/maintenance-thresholds.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/maintenance-thresholds.toml b/configs/maintenance-thresholds.toml
index f2b9a23..f729a01 100644
--- a/configs/maintenance-thresholds.toml
+++ b/configs/maintenance-thresholds.toml
@@ -18,11 +18,17 @@ df_warn_pct = 80
df_crit_pct = 90
btrfs_scrub_warn_days = 35
btrfs_scrub_crit_days = 60
+btrfs_unalloc_warn_gb = 10 # chunk headroom floor before ENOSPC weirdness
zfs_scrub_warn_days = 35
zfs_scrub_crit_days = 60
zfs_capacity_warn_pct = 80 # ZFS performance degrades past 80
zfs_capacity_crit_pct = 90
zfs_frag_info_pct = 50
+smart_wear_warn_pct = 80 # NVMe percentage_used (100 = rated life)
+smart_temp_warn_c = 70
+fstrim_stale_days = 10 # weekly timer + slack (continuous discard exempts)
+hog_roots = ["/home/cjennings", "/var"] # disk top-consumers scan roots (slow-local); depth-1 of /home is just the user dir, so scan inside it
+hog_top = 8 # digest rows kept
[snapshots]
# Sane snapper TIMELINE limits — the 2026-05-26 /home pile-up fix.