logo       

Re: sensors_ plugin: msg#00048

db.rddtool.munin.general

Subject: Re: sensors_ plugin

it skrev:
> In /etc/munin/plugins, I have sensors_temp, sensors_volt and sensors_fan
> symlinked to /usr/share/munin/plugins/sensors_

Very good.

> [sensors_*]
> user root

This is usually not needed for sensors. At least not on the systems
I've used.

> root@storage02:/etc/munin/plugins# LANG=C LC_ALL=C sensors
> bmc-i2c--1208488564-bf991a78
> ERROR: Can't get adapter or algorithm?!?

As long as sensors don't know the adaptor or the algorithm it does not
know how the sensors are calibrated and as you see in the output you
show is a high number of the values are surely completely wrong. See
for example the 0.07V and 772.2 degrees C, readings, and the very
strange min/max values given compared to the readings.

So I don't know if you'll be able to get sensible sensors readings on
that computer in any case.

> in1: +1.30 V (min = +0.00 V, max = +0.00 V)
> in2: +0.07 V (min = +0.00 V, max = +0.00 V)
> in3: +0.07 V (min = +0.81 V, max = +0.98 V)
> in4: +0.13 V (min = +10.42 V, max = +13.58 V)
> in5: +11.59 V (min = +4.45 V, max = +5.56 V)
> in6: +4.99 V (min = +1.36 V, max = +1.64 V)
> in7: +1.50 V (min = +3.03 V, max = +3.61 V)
> in8: +3.29 V (min = +2.94 V, max = +3.68 V)
> in9: +3.32 V (min = +1.64 V, max = +1.99 V)
> in10: +1.97 V (min = +1.33 V, max = +1.68 V)
> fan1: 0 RPM (min = 330 RPM)
> fan2: 0 RPM (min = 1221 RPM)
> fan3: 0 RPM (min = 1221 RPM)
> temp1: +0.0 C (high = +0 C, hyst = +2 C)
> temp2: +0.0 C (high = +0 C, hyst = +2 C)
> temp3: +772.2 C (high = +50 C, hyst = +0 C)
> temp4: +0.0 C (high = +50 C, hyst = +0 C)
> temp5: +1200.0 C (high = +48 C, hyst = +2 C)
> temp6: +0.0 C (high = +66 C, hyst = +2 C)

This output is good, in that there are no non-ascii characters in it.
There are several in the original output you sent us.

>>> temp1: +0.0°C (high = +0°C, hyst = +2°C)
>>> temp2: +0.0°C (high = +0°C, hyst = +2°C)
>>> temp3: +772.2°C (high = +50°C, hyst = +0°C)
>>> temp4: +0.0°C (high = +50°C, hyst = +0°C)
>>> temp5: +1190.0°C (high = +48°C, hyst = +2°C)
>>> temp6: +0.0°C (high = +66°C, hyst = +2°C)

But, in any case, the copy of sensors_ that I have here starts up this
way, and I'm fairly sure it's been like that for many years now.

$ENV{'LANG'} = "C"; # Force parseable output from sensors.
$ENV{'LC_ALL'} = "C"; # Force parseable output from sensors.

Did you try everything on this page:
http://munin.projects.linpro.no/wiki/Debugging_Munin_plugins ?

Nicolai

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise