[rrd-users] Default Font ?

William R. Lorenz wrl at express.org
Tue Oct 27 07:32:45 CET 2009


Hi Jerome,

On Tue, 27 Oct 2009, Jerome SCHEVINGT wrote:

> i have a problems of font on my graph.
>
> When i start manually the rrdtool graph, the font are Ok
> but if it's cron, we have a bad fonts ..

You may want to look at your shell environment variables if it differs 
between the command line (manually) and your cron entry; that may help.


> i have specified in my script:
>
> $RRDPATH/rrdtool graph $WWWDIR/ifday.gif \
> -t "$TITRE Historique sur une journée" \
> -v "bits/s" \
> --font 'DEFAULT:0:Courier' \
> -w 500 -h 120 \
> --slope-mode \
> --alt-autoscale \
> --start $NOW1D \
> --end $NOW \
> DEF:downaverage=$RRDATAPATH/$DATABASE:ifin:AVERAGE \
> DEF:upaverage=$RRDATAPATH/$DATABASE:ifout:AVERAGE \
> CDEF:inaverage=downaverage,8,* \
> CDEF:outaverage=upaverage,8,* \
> VRULE:1120687200#EE00EE: \
> GPRINT:inaverage:MAX:"IN Max\: %6.2lf %s" \
> GPRINT:inaverage:MIN:"Min\: %6.2lf %s" \
> GPRINT:inaverage:AVERAGE:"Moy\: %6.2lf %s" \
> GPRINT:inaverage:LAST:"Last\: %6.2lf %s" \
> AREA:inaverage#00EE00:"IN bps \l" \
> GPRINT:outaverage:MAX:"OUT Max\: %6.2lf %s" \
> GPRINT:outaverage:MIN:"Min\: %6.2lf %s" \
> GPRINT:outaverage:AVERAGE:"Moy\: %6.2lf %s" \
> GPRINT:outaverage:LAST:"Last\: %6.2lf %s" \
> LINE1:outaverage#0000FF:"OUT bps " \

-- 
William R. Lorenz


More information about the rrd-users mailing list