[ZBXNEXT-8758] Load balancing and HA for proxies Created: 2023 Oct 16 Updated: 2025 Jan 24 Resolved: 2024 Aug 25 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G), Agent2 plugin (G), Proxy (P) |
Affects Version/s: | None |
Fix Version/s: | 7.0.0rc1, 7.0 (plan) |
Type: | New Feature Request | Priority: | Trivial |
Reporter: | Rostislav Palivoda | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 10 |
Labels: | None | ||
Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||
Sub-Tasks: |
|
||||||||||||||||||||||||
Epic Link: | Zabbix 7.0 | ||||||||||||||||||||||||
Team: | |||||||||||||||||||||||||
Sprint: | Sprint candidates | ||||||||||||||||||||||||
Story Points: | 15 |
Description |
Automated proxy load balancing and HA is one of the top feature requests and a must have functionality for enterprise users. |
Comments |
Comment by user185953 [ 2024 Jan 05 ] |
Note TLS auth for proxies won't work right in HA: https://support.zabbix.com/browse/ZBXNEXT-8490 I apologize for promoting it like this. With my other tickets I promise I wait patiently like I should.
|
Comment by Andrejs Griščenko [ 2024 Apr 25 ] |
Available in versions:
|
Comment by Dimitri Bellini [ 2024 May 21 ] |
Dear ZabbixDevTeam, If a Proxy Group will go offline, how we can received a notification? Do you have some plan to create a dedicated template for monitoring the status and performance of a Proxy Group? Thanks so much |
Comment by Alexander Vladishev [ 2024 May 21 ] |
Hi, Thank you for the feedback! You can use the "zabbix[proxy group, <name>, state]" item to get current state of the proxy group. 0 - unknown; 1 - offline; 2 - recovering; 3 - online; 4 - degrading. |
Comment by Alexander Vladishev [ 2024 May 21 ] |
Currently, we are working on such a template. It will be available in the nearest minor release. |
Comment by Dimitri Bellini [ 2024 May 21 ] |
Perfect! Thanks so much |
Comment by Martins Valkovskis [ 2024 May 22 ] |
Updated documentation:
|
Comment by pascal de jessey [ 2024 May 23 ] |
Hello, great news ! what does it change for the network flows ? does the proxies talk to each other, or they only talk to zabbix server |
Comment by Leandro Dethloff [ 2024 May 23 ] |
I believe that's not the case. I think the proxy will start reporting its status by writing to a new table in the database, similar to how the server's HA works, but I haven't verified this yet to be sure. |
Comment by Leandro Dethloff [ 2024 May 27 ] |
I've been running some tests with this new feature, and I have a question. Does this feature require something like HAProxy in my environment? My concern is that if I point the "Address for active agents" to a proxy, and that proxy goes offline, then the data might be lost. |
Comment by Markku Leiniö [ 2024 May 27 ] |
Documentation is still somewhat incomplete, but based on using the latest Wireshark 4.3.0rc0 build with Zabbix traffic, the server sends those addresses to all the proxies in the group. That way the proxies can return a (yet undocumented) redirect response to the active agents (7.0+?) to guide them to another proxy, for better load distribution. That IP address is thus not a virtual address, that is the IP address of the proxy, to be used by the active agents. Otherwise Zabbix server does not "know" the IP address of the active proxy. |
Comment by Aigars Kadikis [ 2024 May 31 ] |
For the documentation under section https://www.zabbix.com/documentation/7.0/en/manual/distributed_monitoring/proxies/ha we could add/edit to include these bits: How it works:
Possible problems:
|
Comment by Markku Leiniö [ 2024 May 31 ] |
Note that in this case starting/rebooting agent while that particular proxy is offline causes agent to lose monitoring. |