save state to pickle file, restart timers on restart

This commit is contained in:
2026-04-06 17:24:59 -04:00
parent 57c4b86430
commit 832a8b0bda
6 changed files with 195 additions and 91 deletions
+3 -2
View File
@@ -7,6 +7,7 @@ logfile: "/home/andreas/logs/heartbeat/heartbeat.log"
logfmt: "msg"
grace: 40
interval: 10
autosave_interval: 300 # Autosave interval in seconds (default: 5 minutes)
# Notification Channels - Define notification providers centrally
# Each channel has a type (pushover, email, signal, mattermost) and type-specific configuration
@@ -159,7 +160,7 @@ threshold_configs:
warning: 85.0
critical: 90.0
rtt:
warning: 50
warning: 200
critical: 250.0
@@ -204,7 +205,7 @@ threshold_configs:
critical: 2
operator: ">="
rtt:
warning: 50
warning: 200
critical: 250.0
truenas_server: