Impossible to link or bookmark to views in the Tree?

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

Moderators: Moderators, Developers

Post Reply
Author
Message
brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

Impossible to link or bookmark to views in the Tree?

#1 Post by brismi » Fri Aug 16, 2019 7:49 pm

I've set up a great Cacti installation for an office. Really put in the effort, created custom data queries for Isilons, hrules in interface graphs to help visually identify scale without analyzing the vertical axis numbers, multiple data profiles to monitor some things at 10-sec intervals, others at 30, others at 1min, others at 5min, etc.

Only to be stumped by what seems like the silliest thing, but I can't get around it and it might really kill the usefulness of the project.

I cannot for the life of me figure out how to send someone a link to a dashboard page I've set up on the Tree, that they can click, and that view comes up in their browser.

Surely there's a way to do this, or there would be more than two threads from 10+ years ago asking about it? What am I missing?

Edit: Cacti 1.2

cigamit
Developer
Posts: 2785
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Impossible to link or bookmark to views in the Tree?

#2 Post by cigamit » Sat Aug 17, 2019 8:07 pm

Can you show us a image of what you are trying to bookmark? And what specific version of 1.2? With my 1.2.5 install, every link on the tree has a separate url that is easily bookmarkable. I was thinking we fixed a bug about it some time back, but don't recall if it was in the 1.2 branch or the 1.1 branch.

netniV
Cacti Guru User
Posts: 2981
Joined: Sun Aug 27, 2017 12:05 am

Re: Impossible to link or bookmark to views in the Tree?

#3 Post by netniV » Sun Aug 18, 2019 9:20 am

v1.2 introduced deep linking again I'm sure. In fact, I went to check and it was.

Code: Select all

-issue#1494: Unable to Deep Link/Bookmark Trees
GitHub - When viewing a tree, links that are copied/pasted always start at top of tree

brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

Re: Impossible to link or bookmark to views in the Tree?

#4 Post by brismi » Tue Aug 20, 2019 5:07 pm

Cacti 1.2.3, according to <cacti>/site/CHANGELOG.

Operating on an Ubuntu Server Linux VM, Apache2.

I'm wanting to link people to a specific part of the Tree. A one-click equivalent of:
  • HTTP to // server.net/cacti/ in browser.
  • Click on 'Graphs' tab, top left.
  • Click on 'Tree' tab, top right.
  • Pull down site.
  • Pull down sub-folders, navigating to 'Server Dashboard'.
  • Click on 'Server Dashboard' folder and see the nice list I've arranged by editing that Tree in the console.
    (Ideally, with the link specifying number of columns, and whether it's thumbnails.)
Screenshot. I'm trying to link to clicking on 'Server Dashboard'.
cacti_tree_view.png
cacti_tree_view.png (224.47 KiB) Viewed 559 times
What I actually get from that attempt, is it just opens the Tree View with the site collapsed to root level, or if the user had previously opened the tree, it opens whatever part they had open before in that session. Then the user has to navigate themselves as per above, every time.

netniV
Cacti Guru User
Posts: 2981
Joined: Sun Aug 27, 2017 12:05 am

Re: Impossible to link or bookmark to views in the Tree?

#5 Post by netniV » Sat Aug 24, 2019 7:54 am

I just tested this by copying a link to my graph, closed my browser, opened a new one, then pasted it back in. There were no problems and it opened to the correct location.

You may be experiencing a specific bug with your setup that's hard to diagnose from here. If you can, email a zipped up dump of your database and the URL that you use to demonstrate this problem, plus the manual tree location (ie, where we would have to click to get to the same place) to [email protected] so we can test this against your data.

brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

Re: Impossible to link or bookmark to views in the Tree?

#6 Post by brismi » Sat Aug 24, 2019 12:31 pm

Here's the thing. That specific action works for me, but only because I was just at that page. The browser is going back to the previous page, not to the page linked. As if it's remembering something.

Another person on a fresh browser that was not just at that Cacti link gets the behavior I described. I also get that behavior if e.g. I open that link in Chrome when I'd been using Firefox for Cacti, or if I navigate somewhere else on the tree and then drop the link.

netniV
Cacti Guru User
Posts: 2981
Joined: Sun Aug 27, 2017 12:05 am

Re: Impossible to link or bookmark to views in the Tree?

#7 Post by netniV » Sat Aug 24, 2019 3:44 pm

Then this may well be a permission issue or a login option against the user or group. I copied a link and went to a completely different browser, logged in, then pasted the URL and got back to the exact point I should have.

Again, for us as a developer to be able to diagnose that we would need the data, users involved and the exact steps to reproduce it to see if it's a code or permission or setting problems ourselves.

brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

Re: Impossible to link or bookmark to views in the Tree?

#8 Post by brismi » Mon Aug 26, 2019 2:09 pm

Interesting. Knowing this is something that should work, I'll approach it again and see if I can figure out what's going on.

It may even be a browser feature that just happens to be active in multiple browsers.

Post Reply