Problem when changing "Title" in Graph Management

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
BFN_leonardo
Posts: 1
Joined: Tue Feb 20, 2007 8:31 am
Location: Russia

Problem when changing "Title" in Graph Management

Post by BFN_leonardo »

For the first - sorry for my English.
I'm having a problem:
1. When i see the graph - debug says

Code: Select all

  	 RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco 7206 - Traffic - Gi0/1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:c:\comic.ttf \
--font AXIS:8:c:\comic.ttf \
--font LEGEND:10:c:\comic.ttf \
--font UNIT:8:c:\comic.ttf \
DEF:a="C\:/htdocs/cacti/rra/cisco_7206_traffic_in_74.rrd":traffic_in:AVERAGE \
DEF:b="C\:/htdocs/cacti/rra/cisco_7206_traffic_in_74.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s" 

RRDTool Says:

OK
2. But if i only chacnge one letter in "Title" (see the attached picture) - i receive next:

Code: Select all

 RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Cisco 7206 - Traffic - Gi0/1TEST" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:c:\comic.ttf \
--font AXIS:8:c:\comic.ttf \
--font LEGEND:10:c:\comic.ttf \
--font UNIT:8:c:\comic.ttf \
CDEF:cdefa=a,8,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefa#002A97:"Outbound"  \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" 

RRDTool Says:

ERROR: invalid rpn expression in: a,8,*
And of course no any Graph's.
Need Help, People.

P.s. Same problem when i am trying to change for example "Color" in Graph Management.
Attachments
cacti.JPG
cacti.JPG (63.73 KiB) Viewed 915 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

read http://forums.cacti.net/viewtopic.php?t=11747 -- what versions of everything are you using?

You ended up changing more than the title. Look at the second output, it's missing a whole bunch of stuff. I suggest you undo your changes and try again.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests