[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lm-sensor y MRTG



Hola a todos!

 

Tengo un problemilla con los lm-sensors y con el MRTG , he instalado los módulos que me hacían falta, bueno los que me pedia el script,

 

/usr/sbin/sensors-detect

 

Bueno, reinicio el debian y lanzo el comando sensors y me muestra lo siguiente:

 

sensors

it8712-isa-0290

Adapter: ISA adapter

VCore 1:   +1.30 V  (min =  +1.42 V, max =  +1.57 V)   ALARM

VCore 2:   +1.49 V  (min =  +2.40 V, max =  +2.61 V)   ALARM

+3.3V:     +6.56 V  (min =  +3.14 V, max =  +3.46 V)   ALARM

+5V:       +5.01 V  (min =  +4.74 V, max =  +5.24 V)

+12V:     +12.08 V  (min = +11.40 V, max = +12.60 V)

-12V:     -19.77 V  (min = -12.63 V, max = -11.41 V)   ALARM

-5V:       -2.64 V  (min =  -5.24 V, max =  -4.76 V)   ALARM

Stdby:     +4.92 V  (min =  +4.74 V, max =  +5.24 V)

VBat:      +3.18 V

fan1:      888 RPM  (min =    0 RPM, div = 16)

fan2:        0 RPM  (min = 3013 RPM, div = 16)

fan3:     3590 RPM  (min = 3013 RPM, div = 8)

M/B Temp:    +40°C  (low  =   +15°C, high =   +40°C)   sensor = thermistor

CPU Temp:    +45°C  (low  =   +15°C, high =   +45°C)   sensor = diode

Temp3:       +42°C  (low  =   +15°C, high =   +45°C)   sensor = thermistor

 

 

 

Entonces buscando en las nuevas mibs de lmsensors he encontrado las que me dicen la temp de la cpu, y miro si van bien:

 

snmpget -v1 -c marte localhost lmTempSensorsValue.2

LM-SENSORS-MIB::lmTempSensorsValue.2 = Gauge32: 45000

 

Y se puede ver como contesta perfectamente,

 

Pues nada he configurado el fichero cfg donde tengo configurado más cosas tal que  swap, ram…. Etc y añado esto:

 

#Temperatura de la CPU

#

Target[temp.cpu]: lmTempSensorsValue.2&lmTempSensorsValue.2:marte@localhost

Title[temp.cpu]: Temperatura CPU

PageTop[temp.cpu]: <H1>Temp CPU</H1>

MaxBytes[temp.cpu]: 100

ShortLegend[temp.cpu]: ºC

YLegend[temp.cpu]: temp CPU

Legend1[temp.cpu]: Temperatura

Legend2[temp.cpu]:

LegendI[temp.cpu]: Temperatura

LegendO[temp.cpu]:

Options[temp.cpu]: growright,nopercent

 

 

Lanzo 3 veces:

env LANG=C /usr/bin/mrtg /etc/mrtg/server-stats.cfg

 

y lo añado con indexmaker, todo correcto.

 

El problema es que no termina de funcionar, la grafica me pone valores que no son los verdaderos, me pone un 18 y después un 0 ....

 

 

Que puede pasar!

 

 

 

 

 

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005


Reply to: