Process:
--
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/02a61776-d911-48a3-92b1-991e0aa304d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For NTPd, I would recommend using the textfile metrics collector[0].I don't know of any specific exporters for the other two.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmoshmG8SWNuPztRLa8xep8JcWQTHwXUGUYZU%2B-V3e33%2BQ%40mail.gmail.com.
Yup, you could run a once per min cron job that updates a textfile with a last run time seconds metric.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/02a61776-d911-48a3-92b1-991e0aa304d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmoshmG8SWNuPztRLa8xep8JcWQTHwXUGUYZU%2B-V3e33%2BQ%40mail.gmail.com.
Yup, you could run a once per min cron job that updates a textfile with a last run time seconds metric.
On Sat, Sep 2, 2017 at 12:17 PM, Brian Brazil <brian....@robustperception.io> wrote:
On 2 September 2017 at 10:32, Ben Kochie <sup...@gmail.com> wrote:For NTPd, I would recommend using the textfile metrics collector[0].I don't know of any specific exporters for the other two.For SSH you could use the blackbox exporter, see https://www.robustperception.io/checking-if-ssh-is-responding-with-prometheus/If you're using the textfile collector via cron, you're also implicitly testing cron.Brian
You can use the systemd service state collector in the node_exporter, but I would recommend setting a whitelist.-collector.systemd.unit-whitelist '.+\.service'This will avoid exporting metrics for the huge number of non-service units that are configured on most systems. You're still going to be adding nearly 1000 metrics this way. You may want to consider a specific whitelist like '(cron|ssh)\.service'.Another option would be to use mtail[1] to parse syslog output to produce metrics.
On Fri, Sep 1, 2017 at 6:42 PM, <rajki...@gmail.com> wrote:
I have prometheus setup. And I will like to monitor process running on the linux box. I have node exporter installed on each server and added as targets to the Prometheus server. Following is the process that i want to monitor.Process:
I did enabled systemd in node_export config. But i couldnt get the individual service specific metrics in my prometheus server. I am able to get number of process running using node_procs_running. Well i want to know whether a process is running on specific host or not. If not i need to alter a specific group of users. Can anyone help me out.
- ntpd
- crond
- ssh
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/02a61776-d911-48a3-92b1-991e0aa304d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmoshmG8SWNuPztRLa8xep8JcWQTHwXUGUYZU%2B-V3e33%2BQ%40mail.gmail.com.
--Brian Brazil
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/f793a4ff-83d8-458f-a91c-d577bfda3e6b%40googlegroups.com.
For NTPd, I would recommend using the textfile metrics collector[0].I don't know of any specific exporters for the other two.You can use the systemd service state collector in the node_exporter, but I would recommend setting a whitelist.-collector.systemd.unit-whitelist '.+\.service'This will avoid exporting metrics for the huge number of non-service units that are configured on most systems. You're still going to be adding nearly 1000 metrics this way. You may want to consider a specific whitelist like '(cron|ssh)\.service'.Another option would be to use mtail[1] to parse syslog output to produce metrics.
On Fri, Sep 1, 2017 at 6:42 PM, <rajki...@gmail.com> wrote:
I have prometheus setup. And I will like to monitor process running on the linux box. I have node exporter installed on each server and added as targets to the Prometheus server. Following is the process that i want to monitor.Process:
I did enabled systemd in node_export config. But i couldnt get the individual service specific metrics in my prometheus server. I am able to get number of process running using node_procs_running. Well i want to know whether a process is running on specific host or not. If not i need to alter a specific group of users. Can anyone help me out.
- ntpd
- crond
- ssh
--
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-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6de25685-856a-4ab9-8344-c6afd985c88a%40googlegroups.com.