Index · Directives systemd 263~devel

Name

systemd-report-hwmon@.service, systemd-report-hwmon.socket, systemd-report-hwmon — Report hardware monitoring temperature sensor readings as system report metrics

Synopsis

systemd-report-hwmon@.service

systemd-report-hwmon.socket

/usr/lib/systemd/systemd-report-hwmon

Description

systemd-report-hwmon@.service is a metrics source for systemd-report(1). It reports the current readings of the temperature sensors exposed by the kernel's hardware monitoring ("hwmon") subsystem, by implementing the io.systemd.Metrics Varlink interface on a socket linked into the /run/systemd/report/ directory.

All devices of the "hwmon" subsystem are enumerated, and for each of their tempN_input attributes one "io.systemd.HWMon.TemperatureCelsius" gauge metric is reported, with the current temperature in degrees Celsius as value. The metric object is the name of the device the hwmon chip belongs to (for example "coretemp.0", "nvme0" or "thermal_zone0"). The following metric fields are set:

chip

The name of the hwmon chip, i.e. the contents of its name attribute, for example "coretemp" or "nvme". Omitted if the attribute cannot be read.

sensor

The sensor name within the chip, i.e. "tempN". Always set.

label

The human readable sensor label, i.e. the contents of the tempN_label attribute, for example "Package id 0". Omitted if the sensor carries no label.

See Also

systemd(1), systemd-report(1), Naming and data format standards for sysfs files