Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input plugin procstat doesn't allow starting Windows service. #9396

Closed
xAnder1402 opened this issue Jun 18, 2021 · 1 comment · Fixed by #9446
Closed

Input plugin procstat doesn't allow starting Windows service. #9396

xAnder1402 opened this issue Jun 18, 2021 · 1 comment · Fixed by #9446
Assignees
Labels
area/procstat bug unexpected problem or unintended behavior platform/windows regression something that used to work, but is now broken

Comments

@xAnder1402
Copy link

Relevant telegraf.conf:

[global_tags]
[agent]
  interval = "10s"
  round_interval = true
  metric_buffer_limit = 1000
  flush_buffer_when_full = true
  collection_jitter = "0s"
  flush_interval = "10s"
  flush_jitter = "0s"
  debug = false
  quiet = false
  logfile = "/Program Files/Telegraf/telegraf.log"
  hostname = ""

[[outputs.influxdb]]
  urls = ["http://docker:8086"]
  database = "telegraf"
  precision = "s"
  timeout = "5s"
  username = "username "
  password = "password"
  [outputs.influxdb.tagdrop]
    influxdb_tag = ["*"]

[[inputs.procstat]]
  exe = "splwow64"
  pid_finder = "native"
  pid_tag = true

System info:

Windows Server 2019 Standart 1809 17763.1577
Telegraf 1.19.0 amd64

Steps to reproduce:

  1. I launch Telegraf service and it does not start.
  2. Delete inputs.procstat from telegraf.conf.
  3. I launch Telegraf service and it starts.

With Telegraf 1.17.3 works correctly on this OS.

@xAnder1402 xAnder1402 added the bug unexpected problem or unintended behavior label Jun 18, 2021
@reimda reimda added the regression something that used to work, but is now broken label Jun 23, 2021
@MyaLongmire
Copy link
Contributor

MyaLongmire commented Jun 24, 2021

This pull request will fix the issue.
I think your best option is to use telegraf 1.17.3 until this gets resolved. Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/procstat bug unexpected problem or unintended behavior platform/windows regression something that used to work, but is now broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants