News for hackers. Stuff that matters.
Re:Ask HN: How do you monitor your systemd services? by mcpherrinm on Monday July 31, 2023 @12:23PM (#36945000)
I run the Prometheus node_exporter on my servers. That has a systemd collector for the state of services.

That reports the state of all systemd services to a central Prometheus and alertmanager cluster, which has various alert rules.

Re:Ask HN: How do you monitor your systemd services? by pphysch on Monday July 31, 2023 @12:27PM (#36945055)
I recommend this approach, as you can also deploy blackbox_exporter to get an "outside" perspective on service status.
Re:Ask HN: How do you monitor your systemd services? by scrapheap on Tuesday August 01, 2023 @07:00AM (#36954568)
You can also restrict the list of systemd services that node_exporter provides metrics for - that way you only store metrics for those services you care about.