Source: stratum-watchdog
Section: admin
Priority: optional
Maintainer: Stratum Project <stratum@skraba.net>
Build-Depends: debhelper-compat (= 13), golang-any
Standards-Version: 4.7.2
Homepage: https://www.skraba.net/stratum/start
Rules-Requires-Root: no

Package: stratum-watchdog
Architecture: amd64 arm64
Depends: ${misc:Depends}, stratum-core (>= 0.48), systemd, iproute2, procps,
 psmisc, util-linux (>= 2.36)
Suggests: smartmontools, mailutils
Description: Stratum module: watchdog for the key parts of the system
 Stratum is a functional layer for Debian.
 .
 This module checks the key parts of a Debian system and restarts what has
 failed. Key services get Restart=on-failure (systemd restarts them at
 once), and a timer runs checks every minute: failed services, SSH (runs
 and answers), cron, the journal, time synchronisation, network and DNS,
 disk space and read-only file systems, out-of-memory kills, APT/dpkg,
 required reboots, kernel I/O errors, Stratum modules, Docker and its
 containers, SMART and RAID - plus custom checks.
 .
 A problem is repaired when it persists (restart, then checked again), at
 most a few times per hour; then it "needs attention": events, journal, a
 line in the message of the day, optional e-mail or webhook. No automatic
 reboots, no changes to the network, no restarts of services you stopped
 yourself, no repairs while apt/dpkg works. The same checks and events are
 available as JSON for the graphical interface. Manage it from the stratum
 menu or with "stratum watchdog".
