Skip to content

morfMonitor - v0.17.0

Choose a tag to compare

@morfredus morfredus released this 05 Sep 22:45
· 4 commits to main since this release

morfMonitor 0.17.0

  • Functional-failure alerts pushed to morfNotify. morfMonitor now periodically (every 30 s, in-memory, never blocking) evaluates the parc health it already computes and, when a declared service stops announcing itself while its host is still online - i.e. hung or stopped, the case a live process hides from systemd - pushes an error notification to morfNotify (POST /notify), plus a recovery notice when it returns. This is the "functional failure" path (process up, silent), complementary to the systemd OnFailure bridge's "hard failure" path (process dead, see morfNotify 0.5.0). Sustained-failure debounce (120 s, so a restart or update does not alert) and a 6 h repeat cooldown keep it quiet. A whole machine going offline is not alerted service-by-service (that is a machine event, not a service fault). Targets come from MORF_ALERT_TARGETS or /etc/morfsystem/alert-targets (shared with the systemd bridge), defaulting to telegram; the morfNotify URL from MORFNOTIFY_URL. With both paths, morfDashboard is no longer a required link in the alert chain - it stays the visualisation.