Skip to content

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

@xAnder1402

Description

@xAnder1402

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.

Metadata

Metadata

Assignees

Labels

area/procstatbugunexpected problem or unintended behaviorplatform/windowsregressionsomething that used to work, but is now broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions