Windows exporter

A Prometheus exporter for Windows machines.

Windows server 2019

https://github.com/prometheus-community/windows_exporter

> $installfile = "C:\Windows Exporter\windows_exporter-0.31.3-amd64.msi"
> msiexec /i $InstallFile ENABLED_COLLECTORS="ad,adcs,cache,cpu,cpu_info,cs,dfsr,dhcp,dns,logical_disk,logon,memory,net,os,system,tcp,time,terminal_services" LISTEN_PORT="9115" /q

http://xx.xx.xx.xx:9115/metrics

example_config.yml

# Note this is not an exhaustive list of all configuration values
collectors:
  enabled: ad,adcs,cache,cpu,cpu_info,cs,dfsr,dhcp,dns,logical_disk,logon,memory,net,os,system,tcp,time,terminal_services
collector:
  service:
    include: "windows_exporter"
  scheduled_task:
    include: /Microsoft/.+
log:
  level: debug
scrape:
  timeout-margin: 0.5
telemetry:iis
  path: /metrics
web:
  listen-address: ":9115"

Windows exporter

comments powered by Disqus