weird issue with graph tittle

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

Moderators: Developers, Moderators

Post Reply
marbeli
Posts: 12
Joined: Thu Dec 10, 2009 7:14 am

weird issue with graph tittle

Post by marbeli »

Hello humans,

I have this weird problem that I never had before. When I add a new graph, the title is all messed up and not respecting the tittle in my graph template.

Now if I check "Use Per-Graph Value (Ignore this Value)" and wait one cycle then remove the check, the right title is displayed on my graph.

any idea what this could be?

thankyou
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Earthling,

Post a picture of the graph template, graph via graph management and the graph debugging output.
marbeli
Posts: 12
Joined: Thu Dec 10, 2009 7:14 am

Post by marbeli »

here it is.

this is the debug output:

RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="CDP-DS-SW-S18-02 - Traffic - GigabitEthernet/28" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Apache2/htdocs/cacti/rra/10/728.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/10/728.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"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#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

OK
Attachments
GigabitRthernet/28 doesn't mean anything.  looks like 28 is the index number of the graph
GigabitRthernet/28 doesn't mean anything. looks like 28 is the index number of the graph
graph.jpg (33.09 KiB) Viewed 1173 times
marbeli
Posts: 12
Joined: Thu Dec 10, 2009 7:14 am

Post by marbeli »

by the way, there is no data because I just created the graph, otherwise this is not the problem, only the title.
Attachments
graph_template.jpg
graph_template.jpg (172.08 KiB) Viewed 1170 times
marbeli
Posts: 12
Joined: Thu Dec 10, 2009 7:14 am

Post by marbeli »

this is what my graph title usualy looks like
Attachments
good_title.jpg
good_title.jpg (42.13 KiB) Viewed 1168 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

On a data query, the title is usually governed by the "Suggested Names" section of that data query. Find it explained at http://docs.cacti.net/manual:087:3a_adv ... data_query
R.
marbeli
Posts: 12
Joined: Thu Dec 10, 2009 7:14 am

Post by marbeli »

it solves the problem if I edit the suggested title in data queries. But it still doesn't work properly because I shouldn't have to do that if it is specified in the graph template.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest