LinuxCommandLibrary

zabbix_proxy

TLDR

Start proxy daemon

$ sudo systemctl start zabbix-proxy
copy
Run in foreground
$ zabbix_proxy -f
copy
Use alternate config file
$ zabbix_proxy -c [/etc/zabbix/zabbix_proxy.conf]
copy
Display runtime diagnostics
$ zabbix_proxy -R diaginfo
copy
Reload configuration cache
$ zabbix_proxy -R config_cache_reload
copy
Display version
$ zabbix_proxy -V
copy

SYNOPSIS

zabbix_proxy [options]

DESCRIPTION

zabbix_proxy is a daemon that collects monitoring data and forwards it to a Zabbix server. It's used for distributed monitoring of remote locations and reduces load on the central server.
The proxy collects data from agents, stores it locally in its database, then transmits to the server. This architecture survives temporary network outages and centralizes data collection for remote sites.
Proxies can operate in active mode (initiating connections to server) or passive mode (accepting connections from server). Each proxy requires its own database (SQLite, MySQL, or PostgreSQL).

PARAMETERS

-c, --config file

Use alternate configuration file.
-f, --foreground
Run in foreground.
-R, --runtime-control option
Runtime control command.
-h, --help
Display help.
-V, --version
Display version.

RUNTIME CONTROL

config_cache_reload: Reload configuration cache.
housekeeper_execute: Start housekeeper.
log_level_increase: Increase log level.
log_level_decrease: Decrease log level.
diaginfo: Write diagnostic info to log.

CAVEATS

Requires separate database from server. Cannot share database with server. Configuration changes may require cache reload. Memory buffer recommended for performance in Zabbix 7.0+.

HISTORY

zabbix_proxy was added to Zabbix to enable distributed monitoring architectures. It allows organizations to monitor remote sites without direct server connectivity and reduces WAN bandwidth usage by compressing and batching data transfers.

SEE ALSO

Copied to clipboard