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: Developers, Moderators

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

Impossible to link or bookmark to views in the Tree?

Post by brismi »

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: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

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

Post by cigamit »

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: 3441
Joined: Sun Aug 27, 2017 12:05 am

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

Post by netniV »

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
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

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

Post by brismi »

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 915 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: 3441
Joined: Sun Aug 27, 2017 12:05 am

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

Post by netniV »

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 developers@cacti.net so we can test this against your data.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

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

Post by brismi »

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: 3441
Joined: Sun Aug 27, 2017 12:05 am

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

Post by netniV »

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.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
brismi
Posts: 4
Joined: Fri Aug 16, 2019 7:26 pm

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

Post by brismi »

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

Who is online

Users browsing this forum: No registered users and 1 guest