-
Change Request
-
Resolution: Workaround proposed
-
Trivial
-
None
-
None
-
None
-
Zabbix 6.0.X
Hi,
A use case we have is to run on a Linux cluster multiple instances of Zabbix Server (Separate DB's) for multiple clients (Multi-Tenant would not suffice due to the clients requested access i.e. Zabbix Super Admin).
The issue is we have is the Zabbix web package only allows for /etc/zabbix/web/zabbix.conf.php and it is hardcoded in several files under /usr/share/zabbix web content.
What would be nice is to be able to have:
- /etc/zabbix/web/zabbix_instance_1.conf.php
- /etc/zabbix/web/zabbix_instance_2.conf.php
The ability to configure Nginx/Apache to use either IP or Name based v-hosts pointing to each specific Zabbix Web instances content.
This would allow the following being served from the same web server:
- https://zabbix-instance_1/zabbix.php?action=dashboard.view
- https://zabbix-instance_2/zabbix.php?action=dashboard.view
Obviously the Zabbix versions must be the same for any web instance running on the same server.
At the moment it is only possible by doing the following:
- Duplicate /etc/zabbix/web/zabbix.conf.php to /etc/zabbix/web/zabbix_instance_X.conf.php.
- Update /etc/zabbix/web/zabbix_instance_X.conf.php with the correct Zabbix Server instance and database details.
- Duplicate web content /usr/share/zabbix to /usr/share/zabbix_instance_X.
- Update web content references for the filename '/etc/zabbix/web/zabbix.conf.php' to '/etc/zabbix/web/zabbix_instance_X.conf.php' for zabbix_instance_X.
- Add Nginx/Apache v-host to use web content /usr/share/zabbix_instance_X