From d9212888bc454635b18c99da7f6a7de3776a1d21 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 7 Jul 2026 22:35:18 -0500 Subject: feat: Phase 5 threshold keys (network, backups, services) --- configs/maintenance-thresholds.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configs') diff --git a/configs/maintenance-thresholds.toml b/configs/maintenance-thresholds.toml index b754814..edf54d3 100644 --- a/configs/maintenance-thresholds.toml +++ b/configs/maintenance-thresholds.toml @@ -80,12 +80,20 @@ 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 +[network] +ntp_offset_warn_ms = 100 # chrony last-offset bound (typical is sub-ms) + [backups] rsyncshot_daily_crit_hours = 48 # daily backup older than this is a fire +rsyncshot_hourly_warn_hours = 3 # graded only on hosts whose log shows hourly runs [services] docker_reclaim_warn_gb = 5 docker_reclaim_warn_pct = 50 +# Expected crontab entries (substring match, comment lines ignored). Root +# expectations apply only on backup sources (hosts with a rsyncshot log). +cron_expected_root = ["rsyncshot"] +cron_expected_user = ["log-cleanup"] [refresh] # Cadence knobs (seconds unless named otherwise) — spec Decision 8. -- cgit v1.2.3