Zabbix Server端配置文件说明(3)

#说明:若节点为子结点,是否允许本地事件(events表)发送到主节点,1为不发送,但不影响此节点以下的节点的传播能力,视ZABBIX分布式系统架构设计开启或关闭。在不明架构前提下,建议保持默认

# NodeNoEvents=0

### Option: NodeNoHistory

#   If set to '1' local history won't be sent to master node.

#   This won't impact ability of this node to propagate history from its child nodes.

#

# Mandatory: no

# Range: 0-1

# Default:

说明:若节点为子结点,是否允许本地历史数据发送到主节点,1为不发送,但不影响此节点以下的节点的传播能力,视ZABBIX分布式系统架构设计开启或关闭,在不明架构前提下,建议保持默认

# NodeNoHistory=0

### Option: Timeout

#   Specifies how long we wait for agent, SNMP device or external check (in seconds).

#

# Mandatory: no

# Range: 1-30

# Default:

#说明:与AGNET\SNMP设备和其它外部设备通信超时设置,单位为秒;若采集数据不完整或网络繁忙,或从管理页面发现客户端状态变化频繁,可以考虑加大此数值。注意若此数值加大,应该考虑参数 StartPollers 是否有相应加大的必要。

# Timeout=3

### Option: TrapperTimeout

#   Specifies how many seconds trapper may spend processing new data.

#

# Mandatory: no

# Range: 1-300

# Default:

#说明:启用 trapper功能,用于进程等待超时设置。根据需要调整

# TrapperTimeout=300

### Option: UnreachablePeriod

#   After how many seconds of unreachability treat a host as unavailable.

#

# Mandatory: no

# Range: 1-3600

# Default:

#说明:当AGNET端处于不可用状态下,间隔多少秒后,尝试重新连接。建议根据具体情况设置。注意,若此数值过小,右agent端业务系统繁忙时,有可能造成报警信息误报

# UnreachablePeriod=45

### Option: UnavailableDelay

#   How often host is checked for availability during the unavailability period, in seconds.

#

# Mandatory: no

# Range: 1-3600

# Default:

#说明:当AGENT端处于可用状态下,间隔多少秒后,进行状态检查。若出现可正常采集数据,但管理页面AGENT状态不正常;若在网络,端口等均通畅情况下,AGENT状态仍不正常,可以考虑加大此数值

# UnavailableDelay=60

### Option: UnreachableDelay

#   How often host is checked for availability during the unreachability period, in seconds.

#

# Mandatory: no

# Range: 1-3600

# Default:

#说明:当agent端处于不可达状态下,延迟多少秒后,进行重新尝试,建议保持默认,在AGENT接入调试阶段,可考虑减少此数值

# UnreachableDelay=15

### Option: AlertScriptsPath

#   Full path to location of custom alert scripts.

#   Default depends on compilation options.

#

# Mandatory: no

# Default:

#说明:监控报警脚本路径,非研发人员不建议修改此参数值

# AlertScriptsPath=${datadir}/zabbix/alertscripts

### Option: ExternalScripts

#   Full path to location of external scripts.

#   Default depends on compilation options.

#

# Mandatory: no

# Default:

#说明:自定义脚本存储路径,非研发人员不建议修改此参数值

# ExternalScripts=${datadir}/zabbix/externalscripts

### Option: FpingLocation

#   Location of fping.

#   Make sure that fping binary has root ownership and SUID flag set.

#

# Mandatory: no

# Default:

#说明:IPv4 FPING命令路径,仅ROOT可用。注意使用此命令时,应该确认此命令是否存在

# FpingLocation=/usr/sbin/fping

### Option: Fping6Location

#   Location of fping6.

#   Make sure that fping6 binary has root ownership and SUID flag set.

#   Make empty if your fping utility is capable to process IPv6 addresses.

#

# Mandatory: no

# Default:

#说明:IPv6 FPING命令路径,仅ROOT可用。注意使用此命令时,应该确认此命令是否存在

# Fping6Location=/usr/sbin/fping6

### Option: SSHKeyLocation

#   Location of public and private keys for SSH checks and actions.

#

# Mandatory: no

# Default:

#说明:在服务端需要SSH到AGENT端且采用用KEY验证方式时使用。非研发人员,不建议修改或设置

# SSHKeyLocation=

### Option: LogSlowQueries

#   How long a database query may take before being logged (in milliseconds).

#   Only works if DebugLevel set to 3 or 4.

#   0 - don't log slow queries.

#

# Mandatory: no

# Range: 1-3600000

# Default:

#说明:用于服务端数据库慢查询功能,单位是毫秒;1毫秒=0.001秒,若有服务端数据库监控慢查询的需求,可以视具体情况调整此数。

# LogSlowQueries=0

### Option: TmpDir

#   Temporary directory.

#

# Mandatory: no

# Default:

#说明:zabbix服务端工作的临时目录

# TmpDir=/tmp

### Option: StartProxyPollers

#   Number of pre-forked instances of pollers for passive proxies.

#

# Mandatory: no

# Range: 0-250

# Default:

#说明:启用多少子进程与代理端通信,若代理端较多可考虑加大此数值

# StartProxyPollers=1

### Option: ProxyConfigFrequency

#   How often Zabbix Server sends configuration data to a Zabbix Proxy in seconds.

#   This parameter is used only for proxies in the passive mode.

#

# Mandatory: no

# Range: 1-3600*24*7

# Default:

#说明:zabbix服务端将配置文件数据同步到代理端的频率,仅适用于代理端为被动模式情况 下

# ProxyConfigFrequency=3600

### Option: ProxyDataFrequency

#   How often Zabbix Server requests history data from a Zabbix Proxy in seconds.

#   This parameter is used only for proxies in the passive mode.

#

# Mandatory: no

# Range: 1-3600

# Default:

说明:zabbix服务端请求代理端采集的数据的频率,仅适用代理端为被动模式情况下

# ProxyDataFrequency=1

### Option: AllowRoot

#   Allow the server to run as 'root'. If disabled and the server is started by 'root', the server

#   will try to switch to user 'zabbix' instead. Has no effect if started under a regular user.

#   0 - do not allow 不允许

#   1 - allow 允许

#

# Mandatory: no

# Default:

#说明:是否允许以root身份运行服务端

# AllowRoot=0

### Option: Include

#   You may include individual files or all files in a directory in the configuration file.

#   InstallingZabbix will create include directory in /usr/local/etc, unless modified during the compile time.

#

# Mandatory: no

# Default:

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

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