← 返回命令列表

Linux command

zabbix_proxy 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Start proxy daemon

sudo systemctl start zabbix-proxy

Run in foreground

zabbix_proxy -f

Use alternate config file

zabbix_proxy -c [/etc/zabbix/zabbix_proxy.conf]

Display runtime diagnostics

zabbix_proxy -R diaginfo

Reload configuration cache

zabbix_proxy -R config_cache_reload

Display version

zabbix_proxy -V

说明

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).

参数

-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.

FAQ

What is the zabbix_proxy command used for?

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).

How do I run a basic zabbix_proxy example?

Run `sudo systemctl start zabbix-proxy` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c, --config _file_ do in zabbix_proxy?

Use alternate configuration file.