With our first proxy configured, let's discuss in more detail its operation and the benefits it provides. Let's start with the main benefits:
A proxy collects data when the server is not available
A proxy reduces the number of connections to and from remote environments
A proxy allows us to use incoming connections for polled items
We talked about the proxy retrieving configuration data from the server, and we talked about it having a local database. The Zabbix proxy always needs a local database, and this database holds information on the hosts the proxy is supposed to monitor. The same database also holds all the data the proxy has collected, and if the server cannot be reached, that data is not lost. For how long? By default, data is kept for one hour. This can be configured in the zabbix_proxy.conf
file, the ProxyOfflineBuffer
parameter. It can be set up to 30 days, but beware of running out of disk space, as well as of the potential to overload the Zabbix server when connectivity...