Commit graph

4 commits

Author SHA1 Message Date
Martin
4e74b165e0 [module] sensors2 made selective
made the module sensors2 selective by adding the following parameters and their handling:

    * sensors2.chip_include: Comma-separated list of chip to include (defaults to "" will include all by default, example: "coretemp,bat")
    * sensors2.chip_exlude:Comma separated list of chip to exclude (defaults to "" will include none by default)
    * sensors2.field_include: Comma separated list of chip to include (defaults to "" will include all by default, example: "temp,fan")
    * sensors2.field_exlude: Comma separated list of chip to exclude (defaults to "" will exclude none by default)
    * sensors2.chip_field_exclude: Comma separated list of chip field to exclude (defaults to "" will exclude none by default, example: "coretemp-isa-0000.temp1,coretemp-isa-0000.fan1")
    * sensors2.chip_field_include: Comma-separated list of adaper field to include (defaults to "" will include all by default)

The chip, field are findable by using sensors -u
2020-03-26 23:01:28 +01:00
Tobias Witek
0f53567f31 [modules/sensors(2)] Better (?) CPU reading
Add support for ARM/PowerPC (BogoMIPS) and make sure that the module
doesn't throw errors when problems reading the CPU frequency occurs.

fixes #458
2019-10-20 10:08:37 +02:00
Tobias Witek
354dc0fbcd [modules/sensors2] Fix tests
Forgot an import
2018-11-17 13:56:07 +01:00
Tobias Witek
0d9b3113f4 [modules/sensors2] Alternate sensor module
Show all sensor data reported by sensors -u and color widget with
warning/critical if sensor limits are exceeded.

fixes #326
2018-11-17 13:38:35 +01:00