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
commitcfa815ac3a622a171cf5ce1be70c2cb49488c16c (patch)
tree8af1ea2c334b4a31cd4e57d981b9f17fe126caab /configs/maintenance-thresholds.toml
parent892f746322c47ca6a1e28f2c975daba964af4a73 (diff)
downloadarchsetup-cfa815ac3a622a171cf5ce1be70c2cb49488c16c.tar.gz
archsetup-cfa815ac3a622a171cf5ce1be70c2cb49488c16c.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.