News for hackers. Stuff that matters.
Re:Systemd auto-restarts of units can hide problems from you by thayne on Tuesday August 01, 2023 @05:03AM (#36953947)
What is the best way to set up those alerts? Specifically how do you set something up that knows if unexpected restarts happened? Is there a dbus or similar event you can listen for?
Re:Systemd auto-restarts of units can hide problems from you by pnutjam on Tuesday August 01, 2023 @10:45AM (#36956607)
Re:Systemd auto-restarts of units can hide problems from you by cramjabsyn on Tuesday August 01, 2023 @11:43AM (#36957536)
Worth looking into prometheus. in basic form that'd be gathering metrics from https://github.com/prometheus-community/systemd_exporter on your hosts, and configure alerting in grafana or prometheus alertmanager to notify when a threshold is exceeded