aboutsummaryrefslogtreecommitdiff
path: root/configs/maintenance-thresholds.toml
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-07 22:35:18 -0500
committerCraig Jennings <c@cjennings.net>2026-07-07 22:35:18 -0500
commitd9212888bc454635b18c99da7f6a7de3776a1d21 (patch)
tree17f6ef548d7192c8522340a96b917cf3b988d4bb /configs/maintenance-thresholds.toml
parentee1b5552552b231cec88114a1ceaa6cf344d6551 (diff)
downloadarchsetup-d9212888bc454635b18c99da7f6a7de3776a1d21.tar.gz
archsetup-d9212888bc454635b18c99da7f6a7de3776a1d21.zip
feat: Phase 5 threshold keys (network, backups, services)
Diffstat (limited to 'configs/maintenance-thresholds.toml')
-rw-r--r--configs/maintenance-thresholds.toml8
1 files changed, 8 insertions, 0 deletions
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.