Zabbix Server端配置文件说明

### Option: StartPollers

#   Number of pre-forked instances of pollers.

#

# Mandatory: no

# Range: 0-1000

# Default:

#说明;初始化时,启动子进程数量,数量越多,则服务端吞吐能力越强,对系统资源消耗越大

# StartPollers=5

### Option: StartIPMIPollers

#   Number of pre-forked instances of IPMI pollers.

#

# Mandatory: no

# Range: 0-1000

# Default:

#

#说明:主要用于IPmi技术用于获取硬件状态场景。若无相关监控项,建议设置为0

# StartIPMIPollers=0

### Option: StartPollersUnreachable

#   Number of pre-forked instances of pollers for unreachable hosts (including IPMI).

#

# Mandatory: no

# Range: 0-1000

# Default:

#说明:默认情况下,ZABBIX会启用指定进程用于探测某些不可达主机的(含IPMI场景);若使用场景中含有代理端,建议保持默认;若直接agent较多,可视具体情况调整

# StartPollersUnreachable=1

### Option: StartTrappers

#   Number of pre-forked instances of trappers.

#   Trappers accept incoming connections from Zabbix sender, active agents, active proxies and child nodes.

#   At least one trapper process must be running to display server availability in the frontend.

#

# Mandatory: no

# Range: 0-1000

# Default:

说明:用于设置诸如SNMP STRAPPER场景提交来的数据的接收进程数,若客户机SNMP TRAPPER技术较多,建议加大此参数值

# StartTrappers=5

### Option: StartPingers

#   Number of pre-forked instances of ICMP pingers.

#

# Mandatory: no

# Range: 0-1000

# Default:

#说明:用于设置启用icmp协议PING主机方式启动线程数量,若单台代理所管理机器超过500台,建议加大此数值

# StartPingers=1

### Option: StartDiscoverers

#   Number of pre-forked instances of discoverers.

#

# Mandatory: no

# Range: 0-250

# Default:

说明:用于设置自动发现主机的线程数量,若单台代理所管理机器超过500台,可以考虑加大此数值(仅适用于直接AGENT场景)

# StartDiscoverers=1

### Option: StartHTTPPollers

#   Number of pre-forked instances of HTTP pollers.

#

# Mandatory: no

# Range: 0-1000

# Default:

#说明:用于设置WEB拨测监控线程数,可视具体情况增加或减少此数值。

# StartHTTPPollers=1

### Option: StartTimers

#   Number of pre-forked instances of timers.

#   Timers process time-based trigger functions and maintenance periods.

#   Only the first timer process handles the maintenance periods.

#

# Mandatory: no

# Range: 1-1000

# Default:

#说明:各实例计时器数量,主要用于触发器,标有维护标识的主机,但只第一个计时器用于计算维护标识主机。

# StartTimers=1

### Option: JavaGateway

#   IP address (or hostname) of Zabbix Java gateway.

#   Only required if Java pollers are started.

#

# Mandatory: no

# Default:

#说明:JAVAGATEWAY 场景下使用

# JavaGateway=

### Option: JavaGatewayPort

#   Port that Zabbix Java gateway listens on.

#

# Mandatory: no

# Range: 1024-32767

# Default:

#说明:JAVAGATEWAY 场景下使用

# JavaGatewayPort=10052

### Option: StartJavaPollers

#   Number of pre-forked instances of Java pollers.

#

# Mandatory: no

# Range: 0-1000

# Default:

#说明:JAVAGATEWAY 场景下使用

# StartJavaPollers=0

### Option: StartVMwareCollectors

#   Number of pre-forked vmware collector instances.

#

# Mandatory: no

# Range: 0-250

# Default:

#说明:用于设置监控VMWARE Esxi主机实例时使用,若为0则不启用,若要监控ESXI主机,此值最少为1 ;视监控ESXI数量设置对应数值

# StartVMwareCollectors=0

### Option: VMwareFrequency

#   How often Zabbix will connect to VMware service to obtain a new data.

#

# Mandatory: no

# Range: 10-86400

# Default:

#说明:代理端访问 VMWARE service的频率,单位:秒

# VMwareFrequency=60

### Option: VMwareCacheSize

#   Size of VMware cache, in bytes.

#   Shared memory size for storing VMware data.

#   Only used if VMware collectors are started.

#

# Mandatory: no

# Range: 256K-2G

# Default:

#说明:划出多少共享内存用于存储VMWARE数据

# VMwareCacheSize=8M

### Option: SNMPTrapperFile

#   Temporary file used for passing data from SNMP trap daemon to the server.

#   Must be the same as in zabbix_trap_receiver.pl or SNMPTT configuration file.

#

# Mandatory: no

# Default:

#说明:指定SNMP TRAPPER 时的临时文件,用于代理端启用SNMP TRAPPER功能时使用

# SNMPTrapperFile=/tmp/zabbix_traps.tmp

### Option: StartSNMPTrapper

#   If 1, SNMP trapper process is started.

#

# Mandatory: no

# Range: 0-1

# Default:

#说明:是否启用 snmptrapper功能 ,默认不启用=0,启用=1(配合参数SNMPTrapperFile使用)

# StartSNMPTrapper=0

### Option: ListenIP

#   List of comma delimited IP addresses that the trapper should listen on.

#   Trapper will listen on all network interfaces if this parameter is missing.

#

# Mandatory: no

# Default:

说明:启用SNMPTRAPPER里 ,接收端监听的IP,此参数与StartSNMPTrapper,SNMPTrapperFile 联合使用

# ListenIP=0.0.0.0

# ListenIP=127.0.0.1

### Option: HousekeepingFrequency

#   How often Zabbix will perform housekeeping procedure (in hours).

#   Housekeeping is removing unnecessary information from history, alert, and alarms tables.

#

# Mandatory: no

# Range: 1-24

# Default:

#说明:多少小时清理一次代理端数据库的 history, alert, and alarms,以保持代理端数据库轻便,建议保持默认

# HousekeepingFrequency=1

### Option: MaxHousekeeperDelete

#   The table "housekeeper" contains "tasks" for housekeeping procedure in the format:

#   [housekeeperid], [tablename], [field], [value].

#   No more than 'MaxHousekeeperDelete' rows (corresponding to [tablename], [field], [value])

#   will be deleted per one task in one housekeeping cycle.

#   SQLite3 does not use this parameter, deletes all corresponding rows without a limit.

#   If set to 0 then no limit is used at all. In this case you must know what you are doing!

#

# Mandatory: no

# Range: 0-1000000

# Default:

# MaxHousekeeperDelete=500

### Option: SenderFrequency

#   How often Zabbix will try to send unsent alerts (in seconds).

#

# Mandatory: no

# Range: 5-3600

# Default:

#说明:多少秒后重试发送失败的报警信息

# SenderFrequency=30

### Option: CacheSize

#   Size of configuration cache, in bytes.

#   Shared memory size for storing host, item and trigger data.

#

# Mandatory: no

# Range: 128K-2G

# Default:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/5c77f3eda0ec77c695cc99e47d53171f.html