How to add more Perfmon metrics to Node Exporter for windows

1,442 views
Skip to first unread message

t12...@gmail.com

unread,
Dec 30, 2017, 1:45:21 PM12/30/17
to Prometheus Users
I when through Node Exporter for Windows. I would like to send perfmon metrics \SMTP Server\Remote Queue Length. How do I configure Node Exporter to send this type of metric to Prometheus

thanks

Ben Kochie

unread,
Dec 30, 2017, 3:27:07 PM12/30/17
to t12...@gmail.com, Prometheus Users
The node_exporter has been replaced with the wmi_exporter for windows.

On Dec 30, 2017 7:45 PM, <t12...@gmail.com> wrote:
I when through Node Exporter for Windows. I would like to send perfmon metrics \SMTP Server\Remote Queue Length. How do I configure Node Exporter to send this type of metric to Prometheus

thanks

--
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/2e74fcb0-6e8e-4113-9b69-51df5584ed47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

t12...@gmail.com

unread,
Dec 30, 2017, 8:58:06 PM12/30/17
to Prometheus Users
Sorry I meant  wmi_exporter. How to I configure wmi_exporter to pick up perfmon metrics  \SMTP Server\Remote Queue Length. I had installed wmi_exporter-0.2.8-386.msi in the windows machine. there seems to be no option to tell  wmi_exporter.exe to send for  \SMTP Server\Remote Queue Length. Do i have to write an new collector in go to handle SMTP?

Ben Kochie

unread,
Jan 1, 2018, 11:01:42 AM1/1/18
to t12...@gmail.com, Prometheus Users
I don't know much about WMI, maybe ask on the exporter's GitHub issues?

--
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.

dmi...@ymail.com

unread,
Jan 14, 2018, 10:25:38 PM1/14/18
to Prometheus Users
Prometheus WMI_exporter does not support \SMTP Server\Remote Queue Length perf counter out of the box. So, you have two mutually exclusive choices:
  1. Clone wmi_exporter repository and write code to gather this counter. This will likely take a bit of time and you will end up with your own custom version of that exporter.
  2. Go to https://goo.gl/5ekoA1 Follow the instructions and you will be done in 5-10 minutes. Also, pls. make sure that port number for exposing Prometheus endpoint is available and not blocked by Windows firewall. Usually any number >8000 is good.
Reply all
Reply to author
Forward
0 new messages