With version cacti.0.8.7e, I was updating the graph trees. I had an experience similar to the user in the entry at http://forums.cacti.net/post-175821.html.
Is there a way to fix this? Basic info appears to be there, but may not be correctly linked. The issue appeared to start after a series of branch deletions and creations and moves. I don't know what specifically started the issue.
The source on the web site has the following script excerpt (folder names changed for privacy).
<script type="text/javascript">
<!--
USETEXTLINKS = 1
STARTALLOPEN = 0
USEFRAMES = 0
USEICONS = 0
WRAPTEXT = 1
PERSERVESTATE = 1
HIGHLIGHT = 1
foldersTree = gFld("", "")
foldersTree.xID = "root"
ou0 = insFld(foldersTree, gFld("Aggregate Inbound", "graph_view.php?action=tree&tree_id=6"))
ou0.xID = "tree_6"
ou0 = insFld(foldersTree, gFld("Clients", "graph_view.php?action=tree&tree_id=3"))
ou0.xID = "tree_3"
ou2 = insFld(ou1, gFld("Company 1", "graph_view.php?action=tree&tree_id=3&leaf_id=155"))
ou2.xID = "tree_3_leaf_155"
ou2 = insFld(ou1, gFld("Company 2", "graph_view.php?action=tree&tree_id=3&leaf_id=149"))
ou2.xID = "tree_3_leaf_149"
ou2 = insFld(ou1, gFld("Company 3", "graph_view.php?action=tree&tree_id=3&leaf_id=147"))
ou2.xID = "tree_3_leaf_147"
ou2 = insFld(ou1, gFld("Company 4", "graph_view.php?action=tree&tree_id=3&leaf_id=252"))
ou2.xID = "tree_3_leaf_252"
ou3 = insFld(ou2, gFld("Old", "graph_view.php?action=tree&tree_id=3&leaf_id=272"))
ou3.xID = "tree_3_leaf_272"
ou2 = insFld(ou1, gFld("Company 5", "graph_view.php?action=tree&tree_id=3&leaf_id=297"))
ou2.xID = "tree_3_leaf_297"
.. lots more lines ...
//-->
</script>
Graph Tree Corruption
Moderators: Developers, Moderators
Graph Tree Corruption
- Attachments
-
- Picture of menu with out expected submenus.
- cacti.png (7.45 KiB) Viewed 746 times
Re: Graph Tree Corruption
Please show results of this query:
(Of course hide privacy info)
But even if I look that, I might not solve your problem. Just to reveal what exists in database.
Sorry in advance.
(Of course hide privacy info)
'3' is ID for your tree.% mysql -uUSER -pPASS cacti -t -e 'select * from graph_tree_items where graph_tree_id=3 order by order_key;'
But even if I look that, I might not solve your problem. Just to reveal what exists in database.
Sorry in advance.
Re: Graph Tree Corruption
Results of query as requested is attached.
- Attachments
-
- cacti problem.txt
- (26.81 KiB) Downloaded 79 times
Who is online
Users browsing this forum: No registered users and 3 guests