[mrtg] MRTG with lm_sensors output

WebIT webmaster at webit.co.uk
Sat Feb 3 00:21:53 CET 2007


Slightly off mrtg topic, but still very much related...
I'm using lm_sensors, and think it's going to be really useful.  I've got
the following output from the sensors call:
[root at linux mrtg]# sensors
it87-isa-0290
Adapter: ISA adapter
VCore 1:   +1.33 V  (min =  +0.00 V, max =  +4.08 V)
VCore 2:   +2.64 V  (min =  +1.28 V, max =  +1.68 V)   ALARM
+3.3V:     +3.33 V  (min =  +2.78 V, max =  +3.78 V)
+5V:       +5.05 V  (min =  +4.49 V, max =  +5.48 V)
+12V:     +12.03 V  (min =  +9.98 V, max = +13.95 V)
-12V:      -1.22 V  (min = -22.94 V, max = -17.05 V)   ALARM
-5V:       -1.24 V  (min =  -9.14 V, max =  -7.75 V)   ALARM
Stdby:     +5.05 V  (min =  +4.49 V, max =  +5.48 V)
VBat:      +2.03 V
fan1:     2678 RPM  (min =  664 RPM, div = 8)
fan2:     3013 RPM  (min =  664 RPM, div = 8)
fan3:        0 RPM  (min =    0 RPM, div = 8)
M/B Temp:    +37°C  (low  =  +127°C, high =   +78°C)   sensor = diode
CPU Temp:    +22°C  (low  =  +127°C, high =   +78°C)   sensor =
thermistor
Temp3:       -55°C  (low  =  +127°C, high =   +78°C)   sensor =
thermistor
[root at linux mrtg]
 
I have a couple of problems try to maximise getting the data from the
output, using mrtg_sensor.pl.
 
Temp3, fan1, fan2 are all fine.
 
If I want to get M/B Temp & CPU Temp, and maybe some of the voltages, how do
you cope with the spaces and unusual characters?
 
Thanks
Nunners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20070202/45ed0cd6/attachment.html 


More information about the mrtg mailing list