[ZBXNEXT-4530] Making cookie name 'zbx_sessionid' configurable Created: 2018 Apr 27 Updated: 2024 Apr 10 Resolved: 2018 Jun 21 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Frontend (F) |
Affects Version/s: | 4.0.0alpha5 |
Fix Version/s: | 4.0.0alpha9, 4.0 (plan) |
Type: | New Feature Request | Priority: | Minor |
Reporter: | Takeshi Takeuchi | Assignee: | Miks Kronkalns |
Resolution: | Fixed | Votes: | 0 |
Labels: | cookie, definitions, flexibility | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
CentOS 7.4.1708 |
Attachments: | cookies_zbx_sessionid.png |
Team: | Team D |
Sprint: | Sprint 35, Sprint 36 |
Story Points: | 0.5 |
Description |
I have several Zabbix servers running, and would like to see all the frontends in browser(s) on one PC. |
Comments |
Comment by Valdis Murzins [ 2018 May 03 ] |
Each frontend has a cookie, that is tied to the domain and path of that frontend. So, as long as you are accessing each of your frontends by different URLs, the cookies from these frontends should not overlap and all such frontends should work simultaneously. Do you have different limitation, that breaks this interaction? |
Comment by Takeshi Takeuchi [ 2018 May 03 ] |
Thank you for your reply. I couldn't tell you that I was accessing the servers with local port forwarding. So, all the target hosts are "localhost", is this the reason why cookies across the ports are shared? |
Comment by Valdis Murzins [ 2018 May 03 ] |
Thank you for your answer. That explains the problem. |
Comment by Takeshi Takeuchi [ 2018 May 03 ] |
This is not a matter of the frontend, I hope this feature becomes available. Thank you. |
Comment by Pedro [ 2018 May 20 ] |
Thank you for the answer.
|
Comment by Rostislav Palivoda [ 2018 May 21 ] |
As workaround you can set aliases for "localhost" and then cookies will work. |
Comment by Valdis Murzins [ 2018 Jun 01 ] |
We don't see it as configuration for zabbix.conf.php, but we will make, cookie name changeable in defines.inc.php file, same as it is done for some other customizations: |
Comment by Miks Kronkalns [ 2018 Jun 01 ] |
Implemented in development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-4530 |
Comment by Takeshi Takeuchi [ 2018 Jun 02 ] |
Will defines.inc.php be overwritten when package update? It is helpful the setting can be retained, seems that zabbix.conf.php is a good place to configure. |
Comment by Oleksii Zagorskyi [ 2018 Jun 02 ] |
See and vote for |
Comment by Takeshi Takeuchi [ 2018 Jun 02 ] |
Thank you for the information. I voted. |
Comment by Miks Kronkalns [ 2018 Jun 19 ] |
Fixed in:
|