[SOLVED] ... problem with preview mode graph ....

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

Moderators: Developers, Moderators

Post Reply
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

[SOLVED] ... problem with preview mode graph ....

Post by zorrosam »

Hi all,

i have a problem with the preview mode on the graphs of cacti.

Some of these are ok but others, like bgp and network interfaces have problems to appear .... i obtain only a red X and not the graph.

Anyone can help me?

thanks,

sam
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

For the failing ones: do they show up when selecting any graph? What's displayed when viewed from Graph Management in DEBUG mode?
Reinhard
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Confirm that your installed rrdtool version and the version specified in the Cacti settings are the same.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

..... again problems

Post by zorrosam »

I use rrdtool 1.2.23 ... and is the same that i have selected in settings.
I confirm you that in tree view the graph are ok .... but on preview mode i have the problem.

any idea?

sam
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

.... other info

Post by zorrosam »

... some graph have the red X instead the image ... even if i click on the link i obtain correctly the page with the hostorical graph?!

is very strange!

or not?!
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify, that no error show up in httpd's error_log (though I bet you'll find them there).
Reinhard
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

Post by zorrosam »

from my http log:
x.x.x.x - sam [24/Aug/2007:16:37:47 +0200] "GET /cacti/graph_image.php?local_graph_id=334&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1187879867&graph_end=1187966267 HTTP/1.1" 200 9947
x.x.x.x - sam [24/Aug/2007:16:37:47 +0200] "GET /cacti/graph_image.php?local_graph_id=2202&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1187879867&graph_end=1187966267 HTTP/1.1" 200 9309
x.x.x.x - sam [24/Aug/2007:16:37:48 +0200] "GET /cacti/graph_image.php?local_graph_id=2203&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1187879867&graph_end=1187966267 HTTP/1.1" 200 8511
x.x.x.x - sam [24/Aug/2007:16:37:48 +0200] "GET /cacti/graph_image.php?local_graph_id=5488&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1187879867&graph_end=1187966267 HTTP/1.1" 200 1
x.x.x.x - sam [24/Aug/2007:16:37:48 +0200] "GET /cacti/graph_image.php?local_graph_id=5487&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1187879867&graph_end=1187966267 HTTP/1.1" 200 1

... no error ...

but while in the first three obtain 200 and number of the graph .... for the others i obtain 200 1 .... all of these have the problems that i said.

any idea?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit a failing graph at Graph management ans switch to DEBUG. Post a screenshot, please
Reinhard
copo
Posts: 11
Joined: Mon Oct 09, 2006 1:35 am

Post by copo »

Have you applied the patch ? Your problem may happen to be solve by the patch "Problems Displaying RRDtool Graph Thumbnails". Graphs with your own comment added to the graph may not be able to display if you not apply this patch. Please take a look.

http://www.cacti.net/download_patches.php
User avatar
zorrosam
Cacti User
Posts: 244
Joined: Thu May 03, 2007 3:17 pm
Location: Italy

... patch ok

Post by zorrosam »

thank you my friend ... i forgot the patch for 'Problems Displaying RRDtool Graph Thumbnails '.

now is all ok,

best regards

sam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest