logo       

Re: sensors_ plugin: msg#00056

db.rddtool.munin.general

Subject: Re: sensors_ plugin

Hello,
> Did you try everything on this page:
> http://munin.projects.linpro.no/wiki/Debugging_Munin_plugins ?
I'm not entirely sure what's what, but here's the output:

root@controller:/usr/share/munin# sudo -u munin ./munin-update --debug
--nofork --stdout --host storage02 --service sensors_temp
Dec 13 11:34:49 - [31993] Starting munin-update
Dec 13 11:34:49 - [31993] Processing domain: Digital_Archive
Skipping host "controller" - not in hostlist
Dec 13 11:34:49 - [31993] Processing node: storage02
Dec 13 11:34:49 - [31993] Configuring node: storage02
Dec 13 11:34:49 - [31993] Configuring service: storage02->sensors_temp
Dec 13 11:34:49 - [31993] Config: graph_title = Temperatures
Dec 13 11:34:49 - [31993] Config: graph_vtitle = Celsius
Dec 13 11:34:49 - [31993] Config: graph_args = --base 1000 -l 0
Dec 13 11:34:49 - [31993] Config: graph_category = sensors
Dec 13 11:34:49 - [31993] config: storage02->temp1.label = temp1
Dec 13 11:34:49 - [31993] config: storage02->temp1.warning = 2
Dec 13 11:34:49 - [31993] config: storage02->temp2.label = temp2
Dec 13 11:34:49 - [31993] config: storage02->temp2.warning = 2
Dec 13 11:34:49 - [31993] config: storage02->temp3.label = temp3
Dec 13 11:34:49 - [31993] config: storage02->temp3.critical = 50
Dec 13 11:34:49 - [31993] config: storage02->temp4.label = temp4
Dec 13 11:34:49 - [31993] config: storage02->temp4.critical = 50
Dec 13 11:34:49 - [31993] config: storage02->temp5.label = temp5
Dec 13 11:34:49 - [31993] config: storage02->temp5.warning = 2
Dec 13 11:34:49 - [31993] config: storage02->temp5.critical = 48
Dec 13 11:34:49 - [31993] config: storage02->temp6.label = temp6
Dec 13 11:34:49 - [31993] config: storage02->temp6.warning = 2
Dec 13 11:34:49 - [31993] config: storage02->temp6.critical = 66
Dec 13 11:34:49 - [31993] Configured service: storage02 -> sensors_temp
(0.06 sec)
Dec 13 11:34:49 - [31993] Configured node: storage02 (0.11 sec)
Dec 13 11:34:49 - [31993] Fetching node: storage02
Dec 13 11:34:49 - [31993] Fetching service: storage02->open_inodes
Dec 13 11:34:49 - [31993] Fetching service: storage02->irqstats
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sda_1
Dec 13 11:34:49 - [31993] Fetching service: storage02->if_eth0
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sda_3
Dec 13 11:34:49 - [31993] Fetching service: storage02->sensors_temp
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp1-g.rrd with 0.0
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp2-g.rrd with 0.0
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp3-g.rrd with 772.2
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp4-g.rrd with 0.0
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp5-g.rrd with
1190.0
Dec 13 11:34:49 - [31993] Updating
/var/lib/munin/Digital_Archive/storage02-sensors_temp-temp6-g.rrd with 0.0
Dec 13 11:34:49 - [31993] Fetched service: storage02 -> sensors_temp
(0.06 sec)
Dec 13 11:34:49 - [31993] Fetching service: storage02->df
Dec 13 11:34:49 - [31993] Fetching service: storage02->uptime
Dec 13 11:34:49 - [31993] Fetching service: storage02->swap
Dec 13 11:34:49 - [31993] Fetching service: storage02->load
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sdb_5
Dec 13 11:34:49 - [31993] Fetching service: storage02->cpu
Dec 13 11:34:49 - [31993] Fetching service: storage02->df_inode
Dec 13 11:34:49 - [31993] Fetching service: storage02->open_files
Dec 13 11:34:49 - [31993] Fetching service: storage02->sensors_fan
Dec 13 11:34:49 - [31993] Fetching service: storage02->forks
Dec 13 11:34:49 - [31993] Fetching service: storage02->iostat
Dec 13 11:34:49 - [31993] Fetching service: storage02->memory
Dec 13 11:34:49 - [31993] Fetching service: storage02->vmstat
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sdb_7
Dec 13 11:34:49 - [31993] Fetching service: storage02->sensors_volt
Dec 13 11:34:49 - [31993] Fetching service: storage02->if_err_eth0
Dec 13 11:34:49 - [31993] Fetching service: storage02->entropy
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sda_4
Dec 13 11:34:49 - [31993] Fetching service: storage02->processes
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sdb_8
Dec 13 11:34:49 - [31993] Fetching service: storage02->interrupts
Dec 13 11:34:49 - [31993] Fetching service: storage02->netstat
Dec 13 11:34:49 - [31993] Fetching service: storage02->nfsd
Dec 13 11:34:49 - [31993] Fetching service: storage02->hddtemp_smartctl
Dec 13 11:34:49 - [31993] Fetching service: storage02->if_err_eth1
Dec 13 11:34:49 - [31993] Fetching service: storage02->if_eth1
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sda_2
Dec 13 11:34:49 - [31993] Fetching service: storage02->smart_sdb_6
Dec 13 11:34:49 - [31993] Fetched node: storage02 (0.06 sec)
Dec 13 11:34:49 - [31993] Processed node: storage02 (0.17 sec)
Dec 13 11:34:49 - [31993] Processed domain: Digital_Archive (0.17 sec)
Dec 13 11:34:49 - [31993] Munin-update finished (0.21 sec)

root@storage02:/etc/munin/plugin-conf.d# munin-run sensors_temp
temp1.value 0.0
temp2.value 0.0
temp3.value 772.2
temp4.value 0.0
temp5.value 1190.0
temp6.value 0.0

root@storage02:/etc/munin/plugin-conf.d# sudo -u munin munin-run
sensors_temp
temp1.value 0.0
temp2.value 0.0
temp3.value 772.2
temp4.value 0.0
temp5.value 1190.0
temp6.value 0.0

(permissions seem to be ok, I took out the "user root" entry from
plugin-conf.d/munin-node file, as you suggested)

The values are pretty out of whack, and the lm-sensors error ("ERROR:
Can't get adapter or algorithm?!?") is probably part of where the
problem is, but the graphs should still show up. I'm getting no errors
in any of the munin logs, on both server and client. The links "Fans
Temperatures Voltages" light up in red, and no graphs are shown, just
text "daily graph, weekly graph, etc".

Thanks,
Andrey.

Nicolai Langfeldt wrote:
> 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