Skip to content

thermal_zone collector error when parameter of cooling device is not fetchable ("Invalid argument") #3420

@dev-maniac

Description

@dev-maniac

Host operating system

Linux 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64 GNU/Linux

node_exporter version

1.8.1 (quay.io/prometheus/node-exporter:v1.8.1 via kube-prometheus)

Description

Possibly related to #1703 (similar fix?)

Two new nodes in our cluster are logging following line in node-exporter (1.8.1) every few seconds:

ts=2025-09-10T13:48:42.755Z caller=collector.go:169 level=error msg="collector failed" name=thermal_zone duration_seconds=0.000542769 err="invalid argument"

Cause most probably is that one of the cooling devices in /sys/class/thermal cannot be queried correctly:

/sys/class/thermal# LC_ALL=C cat cooling_device14/cur_state
cat: cooling_device14/cur_state: Invalid argument

(other files/properties can be read)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions