[SOLVED] no zoom graph view

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

Moderators: Developers, Moderators

Post Reply
RJHoldi13
Posts: 9
Joined: Wed Mar 15, 2006 2:35 pm
Location: Germany

[SOLVED] no zoom graph view

Post by RJHoldi13 »

hi all,

it is a strange behavior. i get the "first" graph in the graph tab without any problem. but when i want to zoom or click on the graph to view hourly, daily and so on, i just see the decription and the icons. the cursor shows the cross in the zoom view. so it should be a image there. but i cannot see it. so what is the problem here ? i already deletet the data sources and added them again. but stilll the same.
Version 0.8.7a

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

Post by BSOD2600 »

Make sure you have the correct rrdtool version set in cacti.
RJHoldi13
Posts: 9
Joined: Wed Mar 15, 2006 2:35 pm
Location: Germany

Post by RJHoldi13 »

hi BSOD2600,

first thanx for answer. maybe i forgot something to tell. it happens only in some graph views. the most got no problem.

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

Post by BSOD2600 »

What are your versions of everything?

When you see a broken graph, click the wrench icon and paste all that rrdtool text in here.
RJHoldi13
Posts: 9
Joined: Wed Mar 15, 2006 2:35 pm
Location: Germany

Post by RJHoldi13 »

hi BSOD2600,

i hope that's all you need.

RRDtool 1.2.26 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Nov 20 2007 16:51:13




/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-14400 \
--end=-300 \
--title="something" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/l4de8nsy101_servercurconns_6045.rrd":ServerCurConns:AVERAGE \
DEF:b="/var/www/html/cacti/rra/l4de8nsy101_servercurconns_6045.rrd":ServerCurConns:MAX \
AREA:a#862F2FFF:"Current Connections\:" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
AREA:a:"Average\:":STACK \
GPRINT:b:MAX:" Maximum\:%8.2lf %s\n"

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

Post by BSOD2600 »

Alright, so take that rrdtool graph command and manually run it (piping the result into a file). Does the graph render properly?
RJHoldi13
Posts: 9
Joined: Wed Mar 15, 2006 2:35 pm
Location: Germany

Post by RJHoldi13 »

hi BSOD2600,


i did what you said and i found the mistake:

ERROR: Legend set but no color: Average\::STACK



i wanted GPRINT and not STACK. so i changed it to GPRINT and it workes.

thanx a lot for your help.

regards Reinhold :P
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests