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.
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_alarmand_mininformation is missing.Furthermore, missing entries (e.g. for
_maxor_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.