Plugin: debugfs.plugin Module: libsensors
Collects hardware sensor readings (temperature, voltage, fan speed, current, power, energy, humidity and intrusion state) from all hardware monitoring chips exposed by the Linux hwmon subsystem. Every sensor gets its own chart, a cross-platform temperature histogram summarizes all temperature sensors in fixed bands, and a live sensors function lists every discovered sensor with its current reading and state.
Uses a bundled copy of the libsensors library (the same library behind the sensors command) to enumerate and read the hardware monitoring chips exposed under /sys/class/hwmon.
This collector is only supported on the following platforms:
This collector only supports collecting metrics from a single instance of this integration.
The hwmon sysfs attributes are generally world-readable, so no additional permissions beyond the ones the debugfs plugin already has are required.
All hardware monitoring chips exposed by the hwmon subsystem are detected and collected automatically. The collection interval is automatically raised above the configured update every when reading the sensors is slow.
The default configuration for this integration does not impose any limits on data collection.
The default configuration for this integration is not expected to impose a significant performance impact on the system.
No action required.
| Option | Description | Default | Required |
|---|---|---|---|
| update every | Data collection frequency. | 1 | no |
| command options | Additional parameters for collector | no |
The configuration file name for this integration is netdata.conf.
Configuration for this specific integration is located in the [plugin:debugfs] section within that file.
The file format is a modified INI syntax. The general structure is:
[section1]
option1 = some value
option2 = some other value
[section2]
option3 = some third value
You can edit the configuration file using the edit-config script from the
Netdata config directory.
cd /etc/netdata 2>/dev/null || cd /opt/netdata/etc/netdata
sudo ./edit-config netdata.conf
There are no configuration examples.
Metrics grouped by scope.
The scope defines the instance that the metric belongs to. An instance is uniquely identified by a set of labels.
Per-sensor charts are created for every supported reading of every discovered sensor; the alarm charts expose only the states each sensor driver actually supports. The temperature histogram is a single host-wide chart with the same fixed bands on every operating system: each dimension is a DISJOINT band named after its EXCLUSIVE upper bound in degrees Celsius, and every temperature sensor is counted in exactly one band.
These metrics refer to a hardware sensor chip feature.
Labels:
| Label | Description |
|---|---|
| feature | Stable sensor feature identifier |
| label | Human-readable sensor label |
| chip_id | Sensor chip identifier |
| path | The hwmon sysfs path of the sensor chip |
| subsystem | Hardware subsystem the sensor chip belongs to |
| driver | Kernel driver providing the sensor |
Metrics:
| Metric | Dimensions | Unit |
|---|---|---|
| system.hw.sensor.temperature.input | input | degrees Celsius |
| system.hw.sensor.temperature.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.voltage.input | input | Volts |
| system.hw.sensor.voltage.average | average | Volts |
| system.hw.sensor.voltage.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.fan.input | input | rotations per minute |
| system.hw.sensor.fan.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.current.input | input | Amperes |
| system.hw.sensor.current.average | average | Amperes |
| system.hw.sensor.current.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.power.input | input | Watts |
| system.hw.sensor.power.average | average | Watts |
| system.hw.sensor.power.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.energy.input | input | Joules |
| system.hw.sensor.energy.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.humidity.input | input | percentage |
| system.hw.sensor.humidity.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
| system.hw.sensor.intrusion.alarm | clear, warning, cap, alarm, critical, emergency, fault | status |
Host-wide summary of all temperature sensors.
This scope has no labels.
Metrics:
| Metric | Dimensions | Unit |
|---|---|---|
| system.hw.sensor.temperature.histogram | 40, 50, 60, 70, 80, 85, 90, 95, 100, +Inf | sensors |
There are no alerts configured by default for this integration.
Want a personalised demo of Netdata for your use case?