[ZBXNEXT-3179] Zabbix links should be always unique to share with other people Created: 2016 Mar 07  Updated: 2016 Mar 08

Status: Open
Project: ZABBIX FEATURE REQUESTS
Component/s: Frontend (F)
Affects Version/s: 2.4.7
Fix Version/s: None

Type: Change Request Priority: Trivial
Reporter: Tiago Cruz Assignee: Unassigned
Resolution: Unresolved Votes: 10
Labels: graphs, links, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hello,

When I'm looking to some graph or something in Zabbix, if I copy the link and send to someone, they will open in a different place.

Should be very nice if the everyone jump inside the same page

Example: "zabbix/charts.php?ddreset=1&sid=5335111a773f6851" each person will open one thing different

Thanks



 Comments   
Comment by richlv [ 2016 Mar 08 ]

sid should be gone in 3.0 as part of ZBXNEXT-2662 - but that does not seem to be mentioned in whatsnew (but thanks for having a changelog entry about it ).
it has been asked by users a lot, so it is important enough - let's use this issue to document that in whatsnew, too

Comment by Oleksii Zagorskyi [ 2016 Mar 08 ]

I'm not sure what frontend page could generate the link mentioned in description.

As for ZBXNEXT-2662's changelog I was able to find following:

..F....... ZBXNEXT-2662 moved "sid" parameter into POST method for links with actions (Sasha)
..F....... ZBXNEXT-2662 removed "sid" parameter from almost all links (Sasha)

ZBX-7059 is also related.

Comment by Oleksii Zagorskyi [ 2016 Mar 08 ]

Tiago, please describe how do you get the link to try to compare it on 3.0 release.

Comment by Tiago Cruz [ 2016 Mar 08 ]

Hello Oleksiy,

So, using Zabbix 2.4.7, this is how to generate broken links:

-> Monitoring -> Graphs -> Host XXX -> Graph XXX (ex: Zabbix proxy performance)

This will generate a link like this:

  • /zabbix/charts.php?sid=aac18a95ab092ac1&form_refresh=1&fullscreen=0&groupid=5&hostid=13222&graphid=35034

After this, if you click to Dashboard, and back to Graphs, you will see the same graph as before (Zabbix proxy performance) but with this link:

  • /zabbix/charts.php?ddreset=1&sid=aac18a95ab092ac1

If you share the first link, it will works. If you share the second link, it will fail.

The problem is: I never know, for sure, if my coworker will see the same as I'm seeing when I share some URL with them

If this issue was solved in Zabbix 3.0 will be another big reason to upgrade!

Thanks a lot!

Comment by Oleksii Zagorskyi [ 2016 Mar 08 ]

Thank Tiago.

Your specific case is still actual in 3.0, the only improvement in 3.0 that such way generated link doesn't contain SID anymore.
But if switch to another graph using the drop-down - the SID will be added to URL again

Reason is that when you click Monitoring -> Graph, zabbix frontend uses "profiles" table where stored last viewed graph ID, time period selected per each graph etc.

In such cases, theoretically, zabbix frontend could redirect browser to a link with filled ?graphid=1206,
Another way, mentioned by zabbix devs, is to change browser's URL of visited page in a way as we can see, for example, on Google maps when we move map.
But that's indeed a feature request

Comment by richlv [ 2016 Mar 08 ]

(1) another thing missing - time period is not included in the simple/custom graph pages

Generated at Fri Apr 26 01:06:09 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.