set up lm-sensors on my nas

on

A few weeks ago I build 2 nasses (see previous posts). No it’s time to do some tweaking and do some info-gathering from these machines. In this case. How are the fans, cpu’s etc doing. ie lm-sensors.

Installing lm-sensors is straight-forward: sudo apt-get install lm-sensors.

Initial setup is also straight-forward, just run sudo sensors-detect:

Summary of the output:

Intel Atom thermal sensor...                                Success!
(driver `coretemp')

Trying family `ITE'...                                      Yes
Found `ITE IT8720F Super IO Sensors'                        Success!
(address 0x290, driver `it87')

Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `it87':
* ISA bus, address 0x290
Chip `ITE IT8720F Super IO Sensors' (confidence: 9)

Driver `coretemp':
* Chip `Intel Atom thermal sensor' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
it87
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)

Now everything is setup. With the command sensors cpu and fan info will be shown. For my ga-d525tud mainboard some values are utter crap. So I found somewhere on the internet an updated configfile for my mainboard (lm-sensors-ga-d525tud). Copy this file to /etc/sensors.d. Now only usefull parameters are shown. In my case:

admin@n-am:˜$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +9.0°C  (crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
ERROR: Can't get value of subfeature temp1_input: Can't read
Core 1:       +0.0°C  (crit = +100.0°C)

it8720-isa-0290
Adapter: ISA adapter
Vcore:       +1.10 V  (min =  +0.00 V, max =  +4.08 V)
Vddr:        +1.50 V  (min =  +0.00 V, max =  +4.08 V)
+5V:         +5.08 V  (min =  +0.00 V, max =  +6.16 V)
+12V:       +12.06 V  (min =  +0.00 V, max = +16.02 V)
+5Vsb:       +5.18 V  (min =  +0.00 V, max =  +6.92 V)
CPU Fan:    4655 RPM  (min =    0 RPM)
Sys Fan:       0 RPM  (min =    0 RPM)
CPU Temp:    +42.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermal diode

NOTE: while writing this on my macbook, I discovered the tilde sign (˜) is missing from an mac keypad. Luckily google was again my friend: The ˜ will show up with key combination ALT-n.