strange behavior in legend formatting

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
seveny
Posts: 18
Joined: Thu Jun 23, 2005 9:38 am
Location: Germany

strange behavior in legend formatting

Post by seveny »

Hi there,

I haver a broken legend at http://www.knopfdruck.net/projekte/linu ... ph_77.html - see the first line ("Aussentemperaturen" SPACES Current)

I just set everythiung up as always - with no spacing in between - but when I
turn on the debug-code it shows a lot of spaces. Why?

Did anybody see a similar problem?

It does not happen always, most of the grahps appear to be correct.

This is the debug-code:

/usr/local/rrdtool-1.2.11/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Wetterstation Sifi: Aussentemperaturen" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="°C" \
--slope-mode \
DEF:a="/home/httpd/html/cacti-0.8.6f/rra/wetterstation.rrd":To:AVERAGE \
DEF:b="/home/httpd/html/cacti-0.8.6f/rra/wetterstation.rrd":WC:AVERAGE \
DEF:c="/home/httpd/html/cacti-0.8.6f/rra/wetterstation.rrd":DP:AVERAGE \
DEF:d="/home/httpd/html/cacti-0.8.6f/rra/wetterstation.rrd":To:MAX \
AREA:a#4444FF:"Aussentemperatur" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:MIN:"Minimum\:%6.2lf" \
GPRINT:a:AVERAGE:"Average\:%6.2lf" \
GPRINT:d:MAX:"Maximum\:%6.2lf\n" \
AREA:b#BCBEB3:"gefühlte Temperatur" \
GPRINT:b:LAST:"Current\:%6.2lf" \
GPRINT:b:MIN:"Minimum\:%6.2lf" \
GPRINT:b:AVERAGE:"Average\:%6.2lf" \
GPRINT:b:MAX:"Maximum\:%6.2lf\n" \
AREA:c#00BED9:"Taupunkt" \
GPRINT:c:LAST:" Current\:%6.2lf" \
GPRINT:c:MIN:"Minimum\:%6.2lf" \
GPRINT:c:AVERAGE:"Average\:%6.2lf" \
GPRINT:c:MAX:"Maximum\:%6.2lf\n" \
LINE1:d#000000:""


I am using cacti version 0.8.6f with recent patches.

Sven
User avatar
TheWitness
Developer
Posts: 16997
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What version of RRDtool are you using. Tobi did have issues with international characters at one point. Also, I am not sure how to interpret the problem. The graphs I saw looked fine.

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
seveny
Posts: 18
Joined: Thu Jun 23, 2005 9:38 am
Location: Germany

Version rrdtool

Post by seveny »

as mentioned above:
/usr/local/rrdtool-1.2.11/bin/rrdtool

the spaces should be visible and they still are at:
http://www.knopfdruck.net/projekte/linu ... ph_77.html

umlauts and stuff work fine, just the spacing is strange.

i try to create a "good" verion by calling rrdtool manually and post it again.

--sd
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests