Add hwmon /sensors support (#278)
* Add hwmon support (mainly known from lm-sensors) This commit adds initial support for linux hardware sensors, exported through sysfs. Details of the interface can be found at https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface * Add end-to-end test with some real life data * Cleanup comments on hwmon collector * Drop raw sensor name from hwmon output * Let the sensor label be "sensor" * Add hwmon short description to README.
This commit is contained in:
parent
cf3710191a
commit
081ecc5db0
99 changed files with 753 additions and 79 deletions
1
collector/fixtures/sys/class/hwmon/hwmon0
Symbolic link
1
collector/fixtures/sys/class/hwmon/hwmon0
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../devices/platform/coretemp.0/hwmon/hwmon0
|
||||
1
collector/fixtures/sys/class/hwmon/hwmon1
Symbolic link
1
collector/fixtures/sys/class/hwmon/hwmon1
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../devices/platform/nct6775.656/hwmon/hwmon1
|
||||
1
collector/fixtures/sys/class/hwmon/hwmon2
Symbolic link
1
collector/fixtures/sys/class/hwmon/hwmon2
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../../devices/platform/applesmc.768/hwmon/hwmon2
|
||||
Loading…
Add table
Add a link
Reference in a new issue