# ns8-backup-monitor configuration # --------------------------------------------------------------------------- # Notification recipients # --------------------------------------------------------------------------- # Email delivery is handled by ns8-sendmail, which uses the SMTP relay # already configured in NethServer 8. No SMTP settings needed here. mail: # Sender address (optional - ns8-sendmail may override this with the # system sender; useful to set for clarity in mail clients) from: "ns8-backup-monitor@yourdomain.com" # List of recipients - REQUIRED, always set this to: - "admin@yourdomain.com" subject_prefix: "[NS8 Backup]" # --------------------------------------------------------------------------- # Webhook receiver settings # --------------------------------------------------------------------------- receiver: host: "127.0.0.1" port: 9099 # --------------------------------------------------------------------------- # Timing # --------------------------------------------------------------------------- correlator: # Seconds to wait after alert before checking Redis status. # Allows all modules to finish writing their status. wait_seconds: 30 # Time window (seconds) to consider a backup "recent" after alert recent_window: 3600 # --------------------------------------------------------------------------- # Redis connection (NS8 cluster state) # --------------------------------------------------------------------------- redis: socket: "/var/lib/nethserver/cluster/state/redis.sock" # Alternatively use host/port if not using unix socket # host: "127.0.0.1" # port: 6379 # --------------------------------------------------------------------------- # Repository check # --------------------------------------------------------------------------- repo_check: # Maximum seconds to wait for each repo check timeout: 60 # Additional restic flags if needed (e.g. '--cacert /path/to/ca.crt') restic_flags: "" # --------------------------------------------------------------------------- # Logging # --------------------------------------------------------------------------- logging: level: INFO file: "/var/log/ns8-backup-monitor.log"