Cacti 0.8.8c - Direct Host Linking

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

Moderators: Developers, Moderators

Post Reply
DJHiP
Posts: 9
Joined: Mon Sep 08, 2014 1:53 am

Cacti 0.8.8c - Direct Host Linking

Post by DJHiP »

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? :)
Imperial
Posts: 6
Joined: Wed Jan 12, 2011 9:22 am
Location: Vienna - Austria

Re: Cacti 0.8.8c - Direct Host Linking

Post by Imperial »

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. :(
User avatar
Happiness0
Cacti User
Posts: 63
Joined: Wed Oct 29, 2014 5:01 am
Contact:

Re: Cacti 0.8.8c - Direct Host Linking

Post by Happiness0 »

please see the workaround in this topic : http://forums.cacti.net/viewtopic.php?f ... 63#p255854

Hope that helps
yhoyo
Posts: 2
Joined: Fri Aug 07, 2015 4:00 am

Re: Cacti 0.8.8c - Direct Host Linking

Post by yhoyo »

I have same problem, when i download the source page i only get

Code: Select all

<script type="text/javascript" >
                $(document).ready(function() {
                        $(".graphimage").zoom({inputfieldStartTime : 'date1', inputfieldEndTime : 'date2', serverTimeOffset : 28800});
                });
</script>
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

Code: Select all

include("./include/auth.php.old");
include_once("./lib/html_tree.php.old");
and at last i add the graph_view2.php into include/global_arrays.php

Code: Select all

"graph_templates_items.php" => 10,
"graph_view.php" => 7,
"graph_view2.php" => 7,
"graphs.php" => 5,
"graphs_items.php" => 5,
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
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests