Skip to content

system input plugin call lsb_release causing high cpu usage #5589

Closed
@quantenschaum

Description

Relevant telegraf.conf:

[[inputs.system]]

System info:

Steps to reproduce:

  1. install and run telegraf on a raspberry pi
  2. watch cpu usage

Expected behavior:

cpu usage <5%

Actual behavior:

cpu usage ~25% caused by telegraf

Additional info:

Investigating the situation with atop shows, that lsb_release is called on every collection interval (10s by default), firing up a python interpreter each time.

Reading the docs for input.system I ask myself, why it is actually calling lsb_release? input.system reads load, uptime, #cpus and #users, I don't get the point for running lsb_release?

I would be nice to have this removed or at least to add an option to be able to turn this off.

Metadata

Assignees

Labels

area/systembugunexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions