* [lm-sensors] no lines in rrd graphs from sensord
@ 2009-03-05 21:46 linuxjagnut
2009-03-05 21:57 ` linuxjagnut
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: linuxjagnut @ 2009-03-05 21:46 UTC (permalink / raw)
To: lm-sensors
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.
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.
--
Steve DuChene
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [lm-sensors] no lines in rrd graphs from sensord
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
2 siblings, 0 replies; 4+ messages in thread
From: linuxjagnut @ 2009-03-05 21:57 UTC (permalink / raw)
To: lm-sensors
Also even though I am running sensord with the option
--log-interval 0
I am still getting sensor info being logged to syslog
which is not what I intended to do.
--
Steve DuChene
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] no lines in rrd graphs from sensord
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
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-03-08 9:21 UTC (permalink / raw)
To: lm-sensors
Hi Steve,
On Thu, 5 Mar 2009 13:57:34 -0800, linuxjagnut@cox.net wrote:
> Also even though I am running sensord with the option
>
> --log-interval 0
>
> I am still getting sensor info being logged to syslog
> which is not what I intended to do.
There are two kinds of information being logged by sensord: full sensor
data (similar to the output of "sensors") and alarms. The former can be
disabled with --log-interval 0. In order to disable the latter you must
additionally specify --interval 0.
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [lm-sensors] no lines in rrd graphs from sensord
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
2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2009-03-08 9:31 UTC (permalink / raw)
To: lm-sensors
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-08 9:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.