[comment]: # translation:outdated

[comment]: # ({7c1a7d75-e0cabf53})

# zabbix\_proxy

部分：维护命令 (8)\
更新: 2020-09-04\
[Index](#index) [Return to Main Contents](/documentation/5.2/manpages)

------------------------------------------------------------------------

[ ]{#lbAB}

[comment]: # ({/7c1a7d75-e0cabf53})

[comment]: # ({c7ba44c5-c7ba44c5})

## 名字

zabbix\_proxy - Zabbix proxy 守护进程 [ ]{#lbAC}

[comment]: # ({/c7ba44c5-c7ba44c5})

[comment]: # ({6590818d-6590818d})

## 概要

**zabbix\_proxy** \[**-c** *config-file*\]\
**zabbix\_proxy** \[**-c** *config-file*\] **-R** *runtime-option*\
**zabbix\_proxy -h**\
**zabbix\_proxy -V** [ ]{#lbAD}

[comment]: # ({/6590818d-6590818d})

[comment]: # ({5c6b9587-5c6b9587})

## 描述

**zabbix\_proxy** 是一个从设备收集监控数据并将其发送到Zabbix server的守护程序。[ ]{#lbAE}

[comment]: # ({/5c6b9587-5c6b9587})

[comment]: # ({daee5c55-daee5c55})

## OPTIONS

**-c**, **--config** *config-file*  
使用指定的*config-file*而不是默认文件。

**-f**, **--foreground**  
在前台运行Zabbix proxy。

**-R**, **--runtime-control** *runtime-option*  
根据*runtime-option*执行管理功能。

[ ]{#lbAF}

[comment]: # ({/daee5c55-daee5c55})

[comment]: # ({045894c6-045894c6})

### 

  
运行时控制选项

  
**config\_cache\_reload**  
重新加载配置缓存。如果当前正在加载缓存，则忽略。活动的Zabbix proxy将连接到Zabbix server并请求配置数据。默认配置文件（除非指定了**-c**选项）将用于查找PID文件，并将信号发送到进程，在PID文件中列出。

  
**snmp\_cache\_reload**  
重新加载 SNMP 缓存。

  
**housekeeper\_execute**  
执行housekeeper。如果当前housekeeper正在被执行则忽略。

  
**diaginfo**\[=*section*\]  
记录指定部分的内部诊断信息。节可以是*historycache*，*preprocessing*。默认情况下，记录所有部分的诊断信息。

  
**log\_level\_increase**\[=*target*\]  
提升日志级别，如果未指定目标，则会影响所有进程。

  
**log\_level\_decrease**\[=*target*\]  
降低日志级别，如果未指定目标，则会影响所有进程。

[ ]{#lbAG}

[comment]: # ({/045894c6-045894c6})

[comment]: # ({03a2f271-b863520e})

### 

  
日志级别控制目标

  
*process-type*  
指定类型的所有进程 (configuration syncer, data sender,
discoverer, heartbeat sender, history syncer, housekeeper, http poller,
icmp pinger, ipmi manager, ipmi poller, java poller, poller,
self-monitoring, snmp trapper, task manager, trapper,
unreachable poller, vmware collector)

  
*process-type,N*  
进程类型和编号（例如，poller,3）

  
*pid*  
进程标识符，最多65535。对于较大的值，将目标指定为"process-type,N"

```{=html}
<!-- -->
```
**-h**, **--help**  
显示这个帮助的内容并退出。

**-V**, **--version**  
输出版本信息并退出。

[ ]{#lbAH}

[comment]: # ({/03a2f271-b863520e})

[comment]: # ({583a1725-583a1725})

## 文件

*/usr/local/etc/zabbix\_proxy.conf*  
Zabbix proxy 配置文件的默认位置（如果在编译时未修改的话）。

[ ]{#lbAI}

[comment]: # ({/583a1725-583a1725})

[comment]: # ({41feb9bb-41feb9bb})

## 另请参见

文档 <https://www.zabbix.com/manuals>

**[zabbix\_agentd](zabbix_agentd)**(8),
**[zabbix\_get](zabbix_get)**(1),
**[zabbix\_sender](zabbix_sender)**(1),
**[zabbix\_server](zabbix_server)**(8), **[zabbix\_js](zabbix_js)**(1),
**[zabbix\_agent2](zabbix_agent2)**(8) [ ]{#lbAJ}

[comment]: # ({/41feb9bb-41feb9bb})

[comment]: # ({e55ed07e-e55ed07e})

## 作者

Alexei Vladishev <<alex@zabbix.com>>

------------------------------------------------------------------------

[ ]{#index}

[comment]: # ({/e55ed07e-e55ed07e})

[comment]: # ({2f36c1cc-9f3a9d2a})

## 索引

[NAME](#lbAB)

[SYNOPSIS](#lbAC)

[DESCRIPTION](#lbAD)

[OPTIONS](#lbAE)

[](#lbAF)

[](#lbAG)

  

[FILES](#lbAH)

[SEE ALSO](#lbAI)

[AUTHOR](#lbAJ)

------------------------------------------------------------------------

该文档是由[man2html](/documentation/5.2/manpages)使用手册页创建的。
时间：16:12:22 GMT, 九月 04, 2020

[comment]: # ({/2f36c1cc-9f3a9d2a})
