Bug? : No graphs on graph tree

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

Moderators: Developers, Moderators

kope
Posts: 5
Joined: Mon Jan 16, 2006 3:41 am
Location: Slovakia

Bug? : No graphs on graph tree

Post by kope »

I added a host to a graph tree by 'Place on a tree ...' in 'Devices' but no graphs were shown when viewing graphs. After saving (updating) tree item in the 'Graph trees' it begins to work.

DB: graph_tree_items.host_grouping_type of the new item is 0, after update it becomes 1 or 2.

Version 0.8.6h
packetjockey
Posts: 5
Joined: Mon Jan 16, 2006 4:48 pm

Post by packetjockey »

I have the same problem. I am also running the same version (Version 0.8.6h ). Under the tree view all the hosts apear but no graphs are shown. List View and Preview View show all the graphs just fine. The only host graphs I am able to see under the Tree view is the default localhost.

System:

Freebsd 6
cacti 0.8.6h
mysql 4.1
php 4
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 the version of rrdtool that cacti is configured to use in paths is the version cacti is set to use.
[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]
kope
Posts: 5
Joined: Mon Jan 16, 2006 3:41 am
Location: Slovakia

Post by kope »

Confirming. My rrdtool version is 1.2.12 and in cacti configuration it is set to RRDTool 1.2.x.

As I mentioned, the problem probably is in the database: graph_tree_items.host_grouping_type of the new item is 0, after updating newly inserted tree item in the cacti IDE it becomes 1 or 2.
packetjockey
Posts: 5
Joined: Mon Jan 16, 2006 4:48 pm

Post by packetjockey »

rrdtool-1.2.12 and cacti is setup for RRDTOOL 1.2.x
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Can you both send me the HTML source, view source in your browsers, of the broken graph view page?

My email address is in my forums profile.
[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]
packetjockey
Posts: 5
Joined: Mon Jan 16, 2006 4:48 pm

Post by packetjockey »

emailed.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, what version of the following are you 2 running.

cacti
rrdtool
php
mysql
[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]
kope
Posts: 5
Joined: Mon Jan 16, 2006 3:41 am
Location: Slovakia

Post by kope »

versions

cacti-0.8.6h
rrdtool-1.2.12
PHP 4.4.1
mysql 4.1.14
packetjockey
Posts: 5
Joined: Mon Jan 16, 2006 4:48 pm

Post by packetjockey »

cacti-0.8.6h
rrdtool-1.2.12
PHP 4.4.1
mysql-server-4.1.15
mysql-client-4.1.14
septo
Posts: 1
Joined: Fri Feb 10, 2006 8:46 pm

Post by septo »

I'm also getting the same behavior. If I add a device via "graph trees", it shows up in the tree, and so do associated graphs. However, if I create the devices, and then add it via the 'add to tree' action by selcting it in the devices list, I see the device, but no graphs. A workaround for this is:

septo@somewhere $ mysql
mysql>use cacti;
mysql>update graph_tree_items set host_grouping_type = 1, sort_children_type = 1;

Of which, I'm sure you're already aware, since that's how I found this thread.

My relevant OS/version info is:

Red Hat Enterprise Linux WS release 3 (Taroon Update 5)
PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
mysql Ver 11.18 Distrib 3.23.58, for redhat-linux-gnu (i386)
rrdtool-1.0.49-2.1
cacti-0.8.6h

Thanks!
ealfert
Posts: 1
Joined: Mon Feb 20, 2006 1:03 am

Post by ealfert »

I have the same problem.

My solution is different.... I just deleted the entries in table "graph_tree_items" that were not referencing the hosts.

If you use the alternative fix above of changing the value of "host_grouping_type" and "sort_children_type" from 0 to 1, then the graphs appear under the correct host but they also appear under the root tree folder above the hosts.

I noticed that the graphs that came by default under host "localhost" were not listed in table "graph_tree_items" and did not appear under the root folder of the tree.

So, I deleted all the other graph entries to match them not being there just like the default graphs for host "localhost" and everything is normal.
hpaterek
Posts: 2
Joined: Wed Feb 22, 2006 9:31 am

no graphs showing in tree view

Post by hpaterek »

I am having the same problem. The graphs show in the preview view, but not in tree view. Saving the host in the "Graph Trees" solves it.

I am using cacti 0.8.6h

Gr.

Harald
markb
Posts: 1
Joined: Wed Mar 01, 2006 2:02 am

Re: no graphs showing in tree view

Post by markb »

hpaterek wrote:I am having the same problem. The graphs show in the preview view, but not in tree view. Saving the host in the "Graph Trees" solves it.

I am using cacti 0.8.6h

Gr.

Harald
I also have the same problem and the above solution does solve it.

cacti 0.8.6h
RRDtool 1.2.12
mysqld 5.0.18
PHP 5.1.1
chalieroot
Posts: 2
Joined: Fri Mar 03, 2006 7:35 pm

Bug? : No graphs on graph tree

Post by chalieroot »

I have the same issue for most of my graphs... don't show up in tree view but show up in list view. I have a few exceptions though... maybe I did something wrong?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests