Proxmox 3.3 install - temperature monitoring?

Dave Trouser

Member
Oct 4, 2014
5
0
21
Just recently discovered Proxmox, and thought I'd try it out on a simple test machine, so I have 3.3 installed and running nicely with 3 KVMs. It's great, but it'd be good to be able to track the CPU temperature in the web interface of a node, and maybe the HDDs. Is there a way to do this? Or at least be able to query for CPU temp via a terminal.

When I did a search, all I found was info on much older versions, using lm-sensors. I did try and see if the commands mentioned would work, but they don't seem to exist on 3.3.

eg, "sensors" results in a "bash: pve: command not found".
Am I missing something really basic here? :confused:

It's probably not relevant to the question, but the hardware is:

Intel DQ45CB mainboard
Intel Xeon X3210 CPU (Quad 2.13GHz)
8GB DDR2 800MHz RAM
60GB SSD for the Proxmox install
500GB HDD for KVM etc storage

Thanks!
 
From a terminal on the host: sudo apt-get install lm-sensors
After installation run: sudo sensors-detect

When sensors-detect the prober modules and after they are loaded into the kernel you will see something like below (AMD opteron):
Code:
$ sensors
fam15h_power-pci-00c4
Adapter: PCI adapter
power1:       38.18 W  (crit =  45.05 W)


k10temp-pci-00c3
Adapter: PCI adapter
Socket 0:     +26.6°C  (high = +70.0°C)
                       (crit = +70.0°C, hyst = +67.0°C)


w83795g-i2c-0-2f
Adapter: SMBus PIIX4 adapter at 0b00
in0:          +1.17 V  (min =  +0.68 V, max =  +1.45 V)
in2:          +1.50 V  (min =  +1.12 V, max =  +1.65 V)
in6:          +1.09 V  (min =  +0.98 V, max =  +1.21 V)
in7:          +1.85 V  (min =  +1.62 V, max =  +1.99 V)
in8:          +1.26 V  (min =  +1.13 V, max =  +1.38 V)
in9:          +1.88 V  (min =  +1.63 V, max =  +2.00 V)
in10:         +1.46 V  (min =  +1.42 V, max =  +1.53 V)
in11:         +1.22 V  (min =  +1.08 V, max =  +1.33 V)
+3.3V:        +3.31 V  (min =  +2.96 V, max =  +3.63 V)
3VSB:         +3.23 V  (min =  +2.96 V, max =  +3.63 V)
Vbat:         +3.14 V  (min =  +2.70 V, max =  +3.63 V)
fan1:        3325 RPM  (min =  712 RPM)
fan2:           0 RPM  (min =  712 RPM)  ALARM
fan3:        3325 RPM  (min =  712 RPM)
fan4:        3349 RPM  (min =  712 RPM)
fan5:        2039 RPM  (min =  712 RPM)
temp3:        +48.0°C  (high = +127.0°C, hyst = +127.0°C)
                       (crit = +85.0°C, hyst = +96.0°C)  sensor = thermal diode
temp6:        +27.5°C  (high = +127.0°C, hyst = +127.0°C)
                       (crit = +75.0°C, hyst = +70.0°C)  sensor = thermistor
temp7:        +26.5°C  (high = +70.0°C, hyst = +67.0°C)
                       (crit = +70.0°C, hyst = +67.0°C)  sensor = AMD AMDSI
temp8:         +0.0°C  (high = +70.0°C, hyst = +67.0°C)
                       (crit = +70.0°C, hyst = +67.0°C)  sensor = AMD AMDSI
intrusion0:  OK
beep_enable: disabled

Read details here: http://www.lm-sensors.org/
 
Last edited:
From a terminal on the host: sudo apt-get install lm-sensorsAfter installation run: sudo sensors-detectWhen sensors-detect the prober modules and after they are loaded into the kernel you will see something like below (AMD opteron):
Thank you! It only found the CPU temperatures via the ISA bus - absolutely nothing else, no fan speeds nothing! At least I can check core temps now, thank you. Is there a way for this to be displayed on the live web GUI readouts? All I could find in a search was a vague reference to adding graphs by someone asking a similar question to me here: http://forum.proxmox.com/threads/19908-Adding-a-new-datastream-to-display-more-information-on-theIs there documentation on adding graphs? I can't find any.
 
I tried replying to this a few days ago, but it never got posted. I got lm-sensors installed, but it can only show the CPU temp (which is fine). Thanks for your help on that.
I had posed a related question in another thread, but the thread is missing now and my post no longer shows up in the list of my posts - thread deleted?
It was asking for a way to add the sensor readouts as a graph on the Proxmox node summary screen - is that possible? Google search shows up nothing useful. The thread that I now can't find was started by someone who said they had added a new graph but could not get sensors working - but they did not mention how they added the graph!