Bug? : No graphs on graph tree
Moderators: Developers, Moderators
Bug? : No graphs on graph tree
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
DB: graph_tree_items.host_grouping_type of the new item is 0, after update it becomes 1 or 2.
Version 0.8.6h
-
- Posts: 5
- Joined: Mon Jan 16, 2006 4:48 pm
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
System:
Freebsd 6
cacti 0.8.6h
mysql 4.1
php 4
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
-
- Posts: 5
- Joined: Mon Jan 16, 2006 4:48 pm
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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.
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]
[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]
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Ok, what version of the following are you 2 running.
cacti
rrdtool
php
mysql
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]
[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]
-
- Posts: 5
- Joined: Mon Jan 16, 2006 4:48 pm
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!
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!
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.
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.
no graphs showing in tree view
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 am using cacti 0.8.6h
Gr.
Harald
Re: no graphs showing in tree view
I also have the same problem and the above solution does solve it.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
cacti 0.8.6h
RRDtool 1.2.12
mysqld 5.0.18
PHP 5.1.1
-
- Posts: 2
- Joined: Fri Mar 03, 2006 7:35 pm
Bug? : No graphs on graph tree
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?
Who is online
Users browsing this forum: No registered users and 5 guests