Add ntfy alerts for stale hosts and reporting recovery
CI / tests (Python 3.10) (pull_request) Successful in 19s
CI / tests (Python 3.11) (pull_request) Successful in 17s
CI / tests (Python 3.12) (pull_request) Successful in 17s
CI / tests (Python 3.13) (pull_request) Successful in 18s
CI / lint (pull_request) Successful in 3s

This commit is contained in:
patrick committed 2026-10-24 15:15:48 -04:00
1 parent bd0db302b0
commit 47f93968e9
11 files changed
+631 -4

No files matched your search

+8
View File
@@ -23,3 +23,11 @@ secure_cookies = true
# rate limiting and origin checks. Only enable if the port isn't reachable
# directly, or clients can spoof their IP.
trust_proxy_headers = false
# Stale-host and reporting-recovery notifications. Empty URL disables alerts.
# The server installer enables a timer that checks every five minutes.
# This uses stale_after_hours above (3h allows for hourly reports + 15m jitter).
# Include the topic in the URL; use a topic you subscribe to in your ntfy app.
ntfy_url = "" # e.g. "https://ntfy.example.com/kernelwatch"
ntfy_token = "" # optional ntfy access token (Bearer auth)
ntfy_timeout_seconds = 10.0