In previous version, when in Tree View you could directly link to a host, as the address bar of the browser would have the host
ie: /cacti/graph_view.php?action=tree&tree_id=12&leaf_id=180
However in 0.8.8c and the new Tree View, everything is self contained, so the address bar stays as /cacti/graph_view.php
Is there a way to re-enable the old method?
I'm aware you can right click on the host and copy the link, but that displays an incomplete view, missing logos and headers.
Any ideas?
Cacti 0.8.8c - Direct Host Linking
Moderators: Developers, Moderators
Re: Cacti 0.8.8c - Direct Host Linking
I have the same problem, after the update to 0.8.8c hundreds of links in our support system show the main tree but no longer the target host.
- Happiness0
- Cacti User
- Posts: 63
- Joined: Wed Oct 29, 2014 5:01 am
- Contact:
Re: Cacti 0.8.8c - Direct Host Linking
please see the workaround in this topic : http://forums.cacti.net/viewtopic.php?f ... 63#p255854
Hope that helps
Hope that helps
Re: Cacti 0.8.8c - Direct Host Linking
I have same problem, when i download the source page i only get
but then im thinking how about using the old graph_view.php from previous version ( mine is 0.8.7i ), so i copy the graph_view.php,include/auth.php and lib/html_tree.php from previous version and rename it all, then i change the graph_view2.php ( from old version) code into
and at last i add the graph_view2.php into include/global_arrays.php
and voila.. now i can direct linking using the graph_view2.php, i hope this can help anyone who have the same problem with me
Code: Select all
<script type="text/javascript" >
$(document).ready(function() {
$(".graphimage").zoom({inputfieldStartTime : 'date1', inputfieldEndTime : 'date2', serverTimeOffset : 28800});
});
</script>
Code: Select all
include("./include/auth.php.old");
include_once("./lib/html_tree.php.old");
Code: Select all
"graph_templates_items.php" => 10,
"graph_view.php" => 7,
"graph_view2.php" => 7,
"graphs.php" => 5,
"graphs_items.php" => 5,
Who is online
Users browsing this forum: No registered users and 2 guests