Is Prometheus suitable for os process monitoring?

3,941 views
Skip to first unread message

Rafał Radecki

unread,
Nov 30, 2016, 11:20:21 AM11/30/16
to Prometheus Users
Hi All.

I am learning about prometheus and creating a graphing/alerting setup with grafana/alertmanager. Prometheus seems to be a perfect fit for time series data but I wonder I "standard" process level monitoring can be done with it? For example if it is possible without a custom exporter to check status of a systemctl service or an arbitrary process on Linux? Or maybe do you know any exporters suitable for such task?

BR,
Rafal.

Julius Volz

unread,
Nov 30, 2016, 12:41:58 PM11/30/16
to Rafał Radecki, Prometheus Users
For systemd services, the "systemd" collector module in the Node Exporter already exports the current state: https://github.com/prometheus/node_exporter

Note that you'll have to explicitly enable that module via the --collectors.enabled flag, as it's in the list of modules which is disabled by default.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/639a44b3-a3ad-4eef-9248-8e426358aeff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nick.c...@intelerad.com

unread,
Dec 1, 2016, 2:54:19 PM12/1/16
to Prometheus Users
https://github.com/ncabatoff/process-exporter can be used for monitoring processes that are impractical to instrument directly.
Reply all
Reply to author
Forward
0 new messages