[rrd-users] y-axis encoding problem

Kevin Kettinger kkettinger at gmail.com
Sun Aug 5 17:43:28 CEST 2012


i'am trying to plot two temperature sensor values with rrdtool. The 
y-axis should display decimal values (the resolution of the sensor 
reading is 0.1).

When i plot the graph without --y-grid, the values in the y-axis are 
ploted fine. But when i use --y-grid (e.g. --y-grid 0.1:1), the values 
of the y-axis become strange chars (graph in the attachment).

My command:
rrdtool graph \
--alt-y-grid \
--alt-autoscale \
--y-grid 0.1:1 \
-L 20 \
--height 500 \
--start -1hour \
/var/www/temp_hourly.png \
DEF:temp_inside=temp.rrd:temp_inside:AVERAGE:step=60 \
DEF:temp_outside=temp.rrd:temp_outside:AVERAGE:step=60 \
LINE1:temp_inside#00ff00:"temp inside\l" \
LINE1:temp_outside#0000ff:"temp outside\l"

I also get sometimes the warning:
(process:16088): Pango-WARNING **: Invalid UTF-8 string passed to 

LANG is en_US.UTF-8 and all scripts are UTF-8 encoded.
The rrdtool version is 1.4.3, os is Linux Debian 6.0.5.
On my system, the problem also exists with the rrdtool version 1.4.7.

Maybe someone got an idea.. thanks.

Best regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: temp_hourly.png
Type: image/png
Size: 16979 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120805/9923b66c/attachment-0001.png 

More information about the rrd-users mailing list