0% found this document useful (0 votes)
3 views

workshop-zabbix-proxy-ha-and-load-balancing-7.0-

The webinar discusses Zabbix Proxy high availability and load balancing features introduced in Zabbix 7.0, including proxy groups and memory buffer modes. It highlights the functionality of proxy groups for load balancing and failover, as well as the new proxy buffer modes: disk, memory, and hybrid. Attendees are encouraged to ask questions via Q&A and provided with contact information for further inquiries.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

workshop-zabbix-proxy-ha-and-load-balancing-7.0-

The webinar discusses Zabbix Proxy high availability and load balancing features introduced in Zabbix 7.0, including proxy groups and memory buffer modes. It highlights the functionality of proxy groups for load balancing and failover, as well as the new proxy buffer modes: disk, memory, and hybrid. Attendees are encouraged to ask questions via Q&A and provided with contact information for further inquiries.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Webinar

Zabbix Proxy high availability


and load balancing
all our microphones are muted
ask your questions in Q&A, not in the Chat
use Chat for discussion, networking or applause
Zabbix Proxy high availability and load balancing

Zabbix 7.0
Proxy High Availability

Proxy Memory Buffer

Override timeouts on a per-proxy level


1
Proxy high availability and load balancing
Zabbix Proxy high availability and load balancing

Proxy groups
Proxy groups are introduced to support LB and HA logic

Hosts can be monitored by a proxy group or a single proxy


Zabbix Proxy high availability and load balancing

Proxy groups
Proxy groups are introduced to support LB and HA logic
Hosts can be monitored by a proxy group or a single proxy
Zabbix Proxy high availability and load balancing

Proxy groups
More about proxy groups:

Failover period is used to decide when a proxy is online/offline

A minimal number of online proxies can be configured for a proxy group to be online

Proxies of older versions (and hosts assigned to them) will be excluded from host
rebalancing

If a proxy group is offline (less than minimum number of proxies online), hosts
assigned to that group will stop being monitored
Zabbix Proxy high availability and load balancing

Proxy groups
Proxies are assigned to proxy groups using the proxy configuration form:
Zabbix Proxy high availability and load balancing

Proxy groups
Hosts are rebalanced if the following conditions are met:

The number of hosts assigned to a proxy differs from the average by twice or more

Difference is not less than 10 hosts

Hosts exceeding the average are unassigned from proxies

The unassigned hosts are then assigned to proxies with fewer hosts
Zabbix Proxy high availability and load balancing

Proxy groups
Proxy rebalancing example:

30
20 35
30 30
60 20
30 30
15

Average = 30
Unbalanced Unbalanced
60 / 30 = 2 15 / 30 = 0.5
Zabbix Proxy high availability and load balancing

Proxy groups
When a new proxy is added, the group is automatically rebalanced

New average is calculated

Excess hosts are unassigned

Unassigned hosts are reassigned between proxies


Zabbix Proxy high availability and load balancing

Zabbix Agent
Agents need to be configured to accept connections from proxies in a proxy group:

For active agent mode, ServerActive needs to contain the IP of at least one
(preferably multiple) proxy node groups

For passive agent mode, Server parameter needs to include IP addresses of all proxy
nodes in a proxy group

# zabbix_proxy.log
2594:20240620:082058.199 cannot send list of active checks to „initMaxProxy01": host „initMAX_srv" is monitored by another proxy
2
Proxy memory buffer
Zabbix Proxy high availability and load balancing

New proxy buffer modes


Zabbix 7.0 will introduce new proxy buffer modes:

Disk Current behavior

Memory Data stored only in shared memory

Hybrid Buffer works in memory mode with DB as backup (Default now)

### Option: ProxyBufferMode


# Specifies history, discovery and auto registration data storage
mechanism:
# disk - data are stored in database and uploaded from database
# memory - data are stored in memory and uploaded from memory.
# hybrid - the proxy buffer normally works like in memory mode until it
# runs out of memory or the oldest record exceeds the configured
age
# Default:
# ProxyBufferMode=disk

ProxyBufferMode=hybrid
Zabbix Proxy high availability and load balancing

Disk mode
Each value collected by Zabbix proxy goes through a database:

Database (MySQL, Postgres, or SQLITE) required on each proxy

This may cause a bottleneck on large proxies

Zabbix proxy Zabbix server


Zabbix Proxy high availability and load balancing

Memory mode
Data is sent to Zabbix server directly:

The history data is being stored in shared memory and uploaded from it

If buffer runs out of memory the old data will be discarded

Zabbix proxy Zabbix server


Zabbix Proxy high availability and load balancing

Hybrid mode
Data is sent to the Zabbix server directly:

Buffer normally works like in the memory mode

The buffer is flushed in database if buffer does not have enough space

Zabbix proxy Zabbix server


Demo
Questions?
Zabbix Proxy high availability and load balancing

Contact us:
Phone: +420 800 244 442

Web: https://www.initmax.cz

Email: tomas.hermanek@initmax.cz

LinkedIn: https://www.linkedin.com/company/initmax

Twitter: https://twitter.com/initmax

Tomáš Heřmánek: +420 732 447 184

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy