MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Zabbix Tutorials: Install and Configure Zabbix Proxy on Ubuntu 20.x

Zabbix architecture with proxies at central and remote locations forwarding device data to Zabbix Server

Zabbix Proxy is a component of the Zabbix monitoring and alerting system, which is used to monitor the health and performance of IT infrastructure components such as servers, network devices, and applications. Zabbix is an open-source software that provides centralized monitoring, alerting, and reporting capabilities.

RULE # 1 -Before you install proxy, keep in mind that your proxy version must match the Zabbix server version!

RULE # 2 – Proxy Name MUST Matched Of Zabbix Server and Zabbix Proxy Config file.

Zabbix_proxy.conf with Hostname=Zabbix proxy highlighted at line 42
Zabbix Administration, Proxies page listing Zabbix proxy in Active mode with no encryption
Diagram of TCP connection directions between Zabbix server, active and passive proxies, and agents

How Zabbix Proxy Works?

A Zabbix proxy is a process that collects monitoring data from one or more monitored devices and sends the information to the Zabbix server, essentially working on behalf of the server. All collected data is buffered locally and then transferred to the Zabbix server the proxy belongs to.

The Zabbix proxy works as follows:

  1. The proxy connects to the Zabbix server and registers itself.
  2. The proxy receives a list of hosts that it is responsible for monitoring.
  3. The proxy starts collecting data from the hosts.
  4. The proxy buffers the collected data locally.
  5. The proxy periodically sends the buffered data to the Zabbix server.

The Zabbix proxy can be used to:

  • Offload the Zabbix server when monitoring a large number of hosts.
  • Monitor remote locations.
  • Monitor locations with unreliable communications.
  • Simplify the maintenance of distributed monitoring.

The Zabbix proxy is a powerful tool that can be used to improve the performance and scalability of a Zabbix monitoring system.

Here are some of the benefits of using a Zabbix proxy:

  • Reduced load on the Zabbix server: The proxy can collect data from the monitored hosts, which reduces the load on the Zabbix server.
  • Improved scalability: The Zabbix proxy can be used to monitor a large number of hosts, which improves the scalability of the monitoring system.
  • Increased reliability: The proxy can be used to monitor hosts in remote locations or locations with unreliable communications.
  • Simplified maintenance: The proxy can be used to simplify the maintenance of the monitoring system by centralizing the configuration and management of the proxies.

Here are the differences between a Zabbix proxy and a Zabbix server:

  • A Zabbix proxy is a lightweight process that collects data from the monitored hosts and sends it to the Zabbix server. A Zabbix server is a more powerful process that stores and processes the data collected by the proxies.
  • A Zabbix proxy can only monitor a limited number of hosts, while a Zabbix server can monitor an unlimited number of hosts.
  • A Zabbix proxy is not a full-featured Zabbix server, so it cannot be used to perform all of the tasks that a Zabbix server can perform.

What are the component of Zabbix Proxy?

The Zabbix proxy is a lightweight process that collects monitoring data from one or more monitored devices and sends the information to the Zabbix server, essentially working on behalf of the server. All collected data is buffered locally and then transferred to the Zabbix server the proxy belongs to.

The Zabbix proxy has the following components:

  • Configuration file: The configuration file contains the settings for the Zabbix proxy, such as the IP address of the Zabbix server, the port number, and the list of hosts that the proxy is responsible for monitoring.
  • Data buffer: The data buffer is used to store the monitoring data collected by the proxy before it is sent to the Zabbix server.
  • Sender: The sender is responsible for sending the monitoring data from the data buffer to the Zabbix server.
  • Poller: The poller is responsible for collecting monitoring data from the monitored hosts.

The Zabbix proxy can be configured to collect a variety of monitoring data, such as CPU usage, memory usage, disk usage, and network traffic. The Zabbix proxy can also be configured to send notifications when certain thresholds are met.

Here are the steps on how to configure a Zabbix proxy:

  1. Install the Zabbix proxy on the machine that you want to use as a proxy.
  2. Configure the Zabbix proxy by editing the configuration file.
  3. Start the Zabbix proxy.
  4. In the Zabbix web interface, add the Zabbix proxy to the Zabbix server.
  5. Assign the hosts that you want the Zabbix proxy to monitor to the Zabbix proxy.

Zabbix Proxy Architecture

The Zabbix proxy architecture is a distributed monitoring system that consists of a Zabbix server, one or more Zabbix proxies, and one or more Zabbix agents.

The Zabbix server is the central component of the system and is responsible for storing and processing the monitoring data collected by the proxies and agents. The Zabbix server also provides a web-based user interface for monitoring the system and managing the proxies and agents.

The Zabbix proxy is a lightweight process that collects monitoring data from one or more monitored devices and sends the information to the Zabbix server. All collected data is buffered locally and then transferred to the Zabbix server the proxy belongs to.

The Zabbix agent is a small program that is installed on the monitored devices. The Zabbix agent collects monitoring data from the device and sends it to the Zabbix proxy or server.

The Zabbix proxy architecture is designed to scale to large numbers of devices and hosts. The Zabbix server can handle a large number of proxies, and each proxy can monitor a large number of hosts.

The Zabbix proxy architecture is also designed to be fault-tolerant. If a Zabbix proxy fails, the Zabbix server will continue to function and the monitoring data will be collected by the other proxies.

Here are some of the benefits of using the Zabbix proxy architecture:

  • Scalability: The Zabbix proxy architecture can be scaled to large numbers of devices and hosts.
  • Fault tolerance: The Zabbix proxy architecture is fault-tolerant and can continue to function even if a Zabbix proxy fails.
  • Centralized management: The Zabbix server provides a centralized management interface for managing the proxies and agents.
  • Reduced load on the Zabbix server: The Zabbix proxy can offload some of the load from the Zabbix server by collecting monitoring data from the monitored hosts.
Zabbix_proxy.conf settings table: ProxyMode 0, Server, Hostname and DBName for SQLite
This image has an empty alt attribute; its file name is zabbix-setup-docker-1-1.jpg
Adding a proxy in Zabbix UI; proxy name must match Hostname in zabbix_proxy.conf
Zabbix Proxies form with proxy name matching Hostname, Active mode and proxy IP address
Troubleshooting Zabbix proxy with service zabbix-proxy status and tail of zabbix_proxy.log

Understanding Zabbix proxy Active vs Passive mod

When you use a proxy in active mode, it will connect to the Zabbix server to retrieve configuration and send data. This is a great feature that enables active proxy server to work behind a firewall.

And if you use a proxy in passive mode Zabbix server will initiate a connection to the proxy to send configuration and retrieve data from the proxy.

Before, in this tutorial, we have configured proxy server to work in active mode. Let me show you how can you configure the proxy to work in passive mode.

Open file zabbix_proxy.conf with the command: “sudo nano /etc/zabbix/zabbix_proxy.conf” and turn on passive mode and define Zabbix server IP address by adding this anywhere in the file (change “Server” parameter to to match your Zabbix server):

ProxyMode=1
Server=10.7.44.235

Zabbix server connections with passive and active proxies and their config and data frequency settings

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I'm Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

Install & configure Zabbix Server in Ubuntu

Platform & Compoenent Ubuntu Version: 20:04Zabbix Version: 6.0 LTSDatabase: MySQLWeb Server: Apache Prerequisite Step 1 – Install Zabbix repository Step 2 – Install Zabbix server, frontend, agent…

Read More

Step by Step Guide to Monitor PostGreSQL using Zabbix Agent

To monitor PostgreSQL with the classic Zabbix agent, you install the agent on the database host, create a read-only monitoring role, and deploy the user parameters and…

Read More

Ansible Playbook for Zabbix Agent Deployment

This page shows an Ansible playbook that installs and configures Zabbix agent 6.0 on CentOS and RHEL hosts. Below the original playbook you will find a corrected,…

Read More

Designing a production-ready web scraping pipeline that survives blocks, retries, and CI

Most scraping failures in production look like random network noise. The real cause is usually a weak contract between your code and the target site. You deploy…

Read More

How to Configure HTTP/HTTPS Proxy on Linux and Windows (CLI, GUI, Registry, and APT)

Set up proxy access correctly on Windows and Linux for command-line tools, package managers, and system-level use. This guide covers quick commands, persistent configuration, and common troubleshooting steps.

Read More

Install and Configure Gerrit on CentOS and Ubuntu (MySQL + Apache Reverse Proxy)

A practical, step-by-step guide to installing Gerrit for code review on CentOS/RHEL and Ubuntu/Debian. Includes package command comparisons, setup workflow, Apache proxy configuration, and verification checks.

Read More