From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] no lines in rrd graphs from sensord
Date: Sun, 08 Mar 2009 09:31:51 +0000 [thread overview]
Message-ID: <20090308103151.1ff577f7@hyperion.delvare> (raw)
In-Reply-To: <20090305164626.58YK4.419625.imail@fed1rmwml30>
Hi Steve,
On Thu, 5 Mar 2009 13:46:26 -0800, linuxjagnut@cox.net wrote:
> I have configured lm_sensors on my system and normal output shows up when I run the sensors command line client.
>
> $ sensors
> k8temp-pci-00c3
> Adapter: PCI adapter
> Core0 Temp: +33.0°C
> Core1 Temp: +31.0°C
>
> it8716-isa-0290
> Adapter: ISA adapter
> VCore: +1.10 V (min = +0.00 V, max = +4.08 V)
> VDDR: +2.48 V (min = +1.28 V, max = +1.68 V) ALARM
> +3.3V: +1.89 V (min = +2.78 V, max = +3.78 V) ALARM
> +5V: +5.73 V (min = +4.49 V, max = +5.48 V) ALARM
> +12V: +4.86 V (min = +9.98 V, max = +13.95 V) ALARM
> in5: +1.17 V (min = +0.58 V, max = +1.34 V)
> in6: +2.98 V (min = +1.04 V, max = +1.36 V) ALARM
> 5VSB: +5.13 V (min = +4.49 V, max = +5.48 V)
> VBat: +3.04 V
> fan1: 1634 RPM (min = 10 RPM)
> fan2: 0 RPM (min = 10 RPM) ALARM
> temp1: +21.0°C (low = +127.0°C, high = +127.0°C) sensor = thermal diode
> temp2: +35.0°C (low = +127.0°C, high = +127.0°C) sensor = transistor
> temp3: +25.0°C (low = +127.0°C, high = +127.0°C) sensor = transistor
> cpu0_vid: +1.525 V
>
> So next I built sensord that is currently packaged with the 3.1.0 release.
> I was able to get it running with the following command line:
>
> /usr/local/sbin/sensord --log-interval 0 --load-average --rrd-file /var/www/html/sensord/sensord.rrd --pid-file /var/www/html/sensord/sensord.pid
>
> and it is running as the apache user on my system and that same user owns the /var/www/html/sensord/ directory. The daemon is running but the size of the rrd file (sensord.rrd from the above command line) does not change size and the time stamp is not updated on the file either.
Check your logs (/var/log/local4 by default) for errors. The RRD
interface of sensord is very fragile, and pretty much any configuration
change will break it. If you changed a label or if you added an ignore
statement or if the hwmon drivers are loaded in a different order,
sensord will think that the rrd database structure doesn't match the
data it wants to put in it, and fail. In this case, simply delete the
empty rrd data file and let sensord create it again.
There's definitely room for improvement in this area.
> I can see graphs when I display the URL to the cgi script in my web browser but there are no lines drawn for any graphed output. The bottom of each graph does have a label for the appropriate sensors on my system but no data is being displayed inside the graph itself.
--
Jean Delvare
http://khali.linux-fr.org/wishlist.html
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2009-03-08 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 21:46 [lm-sensors] no lines in rrd graphs from sensord linuxjagnut
2009-03-05 21:57 ` linuxjagnut
2009-03-08 9:21 ` Jean Delvare
2009-03-08 9:31 ` Jean Delvare [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090308103151.1ff577f7@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.