no lines in rrd graphs from sensord
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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Steve,
Quoted 6 lines · On Thu, 5 Mar 2009 13:57:34 -0800, [email protected] 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.
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Steve,
Quoted 26 lines · On Thu, 5 Mar 2009 13:46:26 -0800, [email protected] wrote:
I have configured
lm_sensorson 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°Cit8716-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
Quoted 6 lines
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.pidand 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.
Quoted 1 line
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.
Signature · 7 lines
Jean Delvare http://khali.linux-fr.org/wishlist.html _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors