[Resolved] Device Graphs are Plotted, Graph Trees are not.

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

Moderators: Developers, Moderators

Post Reply
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

[Resolved] Device Graphs are Plotted, Graph Trees are not.

Post by Taiphun »

Hi,

I have finished setting up Cacti 0.8.6j on Solaris 10, everything seems to work, until I go to view all the graphs for a system.

Viewing the individual graphs work, but the pages that pull together all the graphs refuse to load them. For example, if I choose to preview all graphs for a host, none of them show up. But if I click on "host-CPU utilization" I get the four graphs - 24-hr, week, month, year graphs.

The problem also occurs when I'm in graph tree mode. The first page of graphs do not show up, but when I drill down, they all display properly.

Any ideas? I didn't have this problem when I was running Cacti on Gentoo, but Solaris is our corporate standard so I had to move my trending server over to Solaris.

Are there any steps to troubleshooting this?

Thanks for reading.
Last edited by Taiphun on Thu Jun 28, 2007 11:32 am, edited 1 time in total.
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

Post by Taiphun »

Well, thought it was a bad Cacti install, so I reinstalled Solaris 10, patched, and reinstalled all the packages (Cacti, php, mysql, apache2, etc).

Same thing.

Aargh.
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

Post by Taiphun »

Nobody seems to know? :(

More troubleshooting.. Here's a screenshot - might help describe things a bit better.

When I view the source, the image is coming from

Code: Select all

http://10.64.4.7/cacti/graph_image.php?local_graph_id=311&rra_id=0&graph_height=100&graph_width=300&graph_nolegend=true&graph_start=1182958827&graph_end=1183045227
Pasting this into my browser window, I get

The image ... cannot be displayed, because it contains errors.
Attachments
cacti-no-graphs.jpg
cacti-no-graphs.jpg (70.45 KiB) Viewed 1682 times
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

Post by Taiphun »

When I click into prism-prd CPU, the right graph shows up.
Attachments
cacti-cpu.jpg
cacti-cpu.jpg (79.78 KiB) Viewed 1678 times
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

Post by Taiphun »

Hmm, here's what appears in Apache2's log files:

Code: Select all

ERROR: Garbage ':16:41 To 2007/06/28 10:16:41\c' after command:
COMMENT:From 2007/06/27 10:16:41 To 2007/06/28 10:16:41\c
ERROR: Garbage ':16:41 To 2007/06/28 10:16:41\c' after command:
COMMENT:From 2007/06/27 10:16:41 To 2007/06/28 10:16:41\c
ERROR: Garbage ':16:41 To 2007/06/28 10:16:41\c' after command:
COMMENT:From 2007/06/27 10:16:41 To 2007/06/28 10:16:41\c
ERROR: Garbage ':16:41 To 2007/06/28 10:16:41\c' after command:
COMMENT:From 2007/06/27 10:16:41 To 2007/06/28 10:16:41\c
ERROR: Garbage ':16:41 To 2007/06/28 10:16:41\c' after command:
COMMENT:From 2007/06/27 10:16:41 To 2007/06/28 10:16:41\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
ERROR: Garbage ':17:28 To 2007/06/28 10:17:28\c' after command:
COMMENT:From 2007/06/27 10:17:28 To 2007/06/28 10:17:28\c
That's weird.
Taiphun
Posts: 21
Joined: Mon Jan 08, 2007 11:44 am

Post by Taiphun »

Fixed... :)

Turns out TheWitness made a post about the difference in running RRDTool 1.0.x vs 1.2.x.

I made the settings change and it worked out. I was pulling my hair out until I looked in the Apache logs, I had always thought I was doing something wrong in Cacti..

Thanks all for reading :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest