How to install Proxy Zabbix 4.0 on Ubuntu 18.04 ?

What a Zabbix Proxy ?


Zabbix proxy is a process that may collect monitoring data from one or more monitored devices and send 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.

Deploying a proxy is optional, but may be very beneficial to distribute the load of a single Zabbix server. If only proxies collect data, processing on the server becomes less CPU and disk I/O hungry.

A Zabbix proxy is the ideal solution for centralized monitoring of remote locations, branches and networks with no local administrators.

Zabbix proxy requires a separate database.

Why use Zabbix Proxy ?


For understand, a Zabbix proxy can be used to:

  • Monitor remote locations
  • Monitor locations having unreliable communications
  • Offload the Zabbix server when monitoring thousands of devices
  • Simplify the maintenance of distributed monitoring
Example Zabbix Proxy

Installation and Configure Zabbix Proxy


For example, we’ll installed for Ubuntu 18.04 Bionic.

Install Package

To install Zabbix proxy with MySQL support:

Creating database

Separate databases are needed for Zabbix server and Zabbix proxy; they cannot use the same database. Therefore, if they are installed on the same host, their databases must be created with different names!

Zabbix

I using local mysql.

Import schema.sql.gz for database “zabbix_proxy”

Configure database and node for Zabbix Proxy

Edit zabbix_proxy.conf to use their respective databases. For example:

Starting Zabbix Proxy process

It’s time to start Zabbix server process and make it start at system boot:

Add Zabbix Proxy in Frontend


it is time to configure it in the Zabbix frontend.

To configure a proxy in Zabbix frontend:

  • Go to: Administration → Proxies
  • Click on Create proxy
Adding proxies

Host Configuration


You can specify that an individual host should be monitored by a proxy in the host configuration form, using the Monitored by proxy field.

choice proxy in host

Host mass update is another way of specifying that hosts should be monitored by a proxy.


2 comments On How to install Proxy Zabbix 4.0 on Ubuntu 18.04 ?

Leave a reply:

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Site Footer