From ee1b5552552b231cec88114a1ceaa6cf344d6551 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 7 Jul 2026 22:00:49 -0500 Subject: feat: Phase 4 threshold keys (logs, memory, power) --- configs/maintenance-thresholds.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configs/maintenance-thresholds.toml') 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 -- cgit v1.2.3