aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-07 22:00:49 -0500
committerCraig Jennings <c@cjennings.net>2026-07-07 22:00:49 -0500
commitd7a2a114aff4a88dbbb739dbe465d3b29154b92a (patch)
treeb6e8016a609a1514cec2bf2d201f3aaba0ae6fda /configs
parent0bd90b45ba52f88058a4bfb4282f5a6698e7d406 (diff)
downloadarchsetup-d7a2a114aff4a88dbbb739dbe465d3b29154b92a.tar.gz
archsetup-d7a2a114aff4a88dbbb739dbe465d3b29154b92a.zip
feat: Phase 4 threshold keys (logs, memory, power)
Diffstat (limited to 'configs')
-rw-r--r--configs/maintenance-thresholds.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/maintenance-thresholds.toml b/configs/maintenance-thresholds.toml
index 898f47a..b754814 100644
--- a/configs/maintenance-thresholds.toml
+++ b/configs/maintenance-thresholds.toml
@@ -63,10 +63,22 @@ expected_timers_extra = []
[logs]
app_log_warn_days = 7 # log-cleanup cron should hold ~7 days
journal_digest_top = 10 # groups shown in the journal digest
+journal_disk_warn_gb = 2 # journald footprint before vacuum suggested
+coredump_window_days = 14 # dumps older than this age out of the count
+
+[memory]
+used_warn_pct = 90 # 1 - available/total (reclaimable-aware)
+used_crit_pct = 97
+oom_window_days = 7 # kernel-journal OOM lookback
[power]
battery_low_pct = 15 # feeds the diagnostic state (glyph red)
charge_limit_pct = 80 # the SET 80% longevity cap on velox
+cpu_temp_warn_c = 90 # k10temp Tctl / coretemp package
+gpu_temp_warn_c = 95 # amdgpu edge
+battery_health_warn_pct = 80 # charge_full vs design floor
+unclean_warn_pct = 25 # unclean-shutdown rate over recent boots
+unclean_boot_sample = 10 # boots assessed for the rate
[backups]
rsyncshot_daily_crit_hours = 48 # daily backup older than this is a fire