Skip to content

Regression: Temperature changes miss data on linux #1319

@srebhan

Description

@srebhan

Describe the bug
With #905 the temperature interface was changed. Before, each entry in "/class/hwmon/hwmon*/temp*_*" became an own sensor, resulting in all available information to be reported. However, with the above PR, the interface changed and all _alarm and _min information is missing.
Furthermore, missing entries (e.g. for _max or _crit) are now reported as zero, making it impossible to decide whether the information is missing or the value is zero (which is unlikely but not impossible).

Expected behavior
Report all available sensor values on Linux. Additionally, allow to detect/query which sensor values are actually present, e.g. with an additional flag or function call.

Additional context
For reference, the background of this report can be found in influxdata/telegraf#11294.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions