zabbix server conf

# This is a configuration file for Zabbix server daemon
# To get more information about Zabbix, visit http://www.zabbix.com

############ GENERAL PARAMETERS #################

### Option: ListenPort
# Listen port for trapper.
#
# Mandatory: no
# Range: 1024-32767
# Default:
# ListenPort=10051
ListenPort trapper监听端口

### Option: SourceIP
# Source IP address for outgoing connections.
#
# Mandatory: no
# Default:
# SourceIP=
SourceIP 对外连接的源IP地址。

### Option: LogType
# Specifies where log messages are written to:
#  system  - syslog
#  file    - file specified with LogFile parameter
#  console - standard output
#
# Mandatory: no
# Default:
# LogType=file
LogType 日志输出类型 写入LogFile 参数指定的日志文件中 system写入syslog,console控制台输出. 从Zabbix 3.0.0开始支持该参数。

### Option: LogFile
# Log file name for LogType 'file' parameter.
#
# Mandatory: yes, if LogType is set to file, otherwise no
# Default:
# LogFile=


LogFile=/var/log/zabbix/zabbix_server.log

### Option: LogFileSize
# Maximum size of log file in MB.
# 0 - disable automatic log rotation.
#
# Mandatory: no
# Range: 0-1024
# Default:
# LogFileSize=1
LogFileSize 日志文件大小,单位  MB。0 - 禁止日志文件自动回滚.注意 如果日志文件达到限定的大小,文件回滚失败, 不管是什么原因, 现有的日志会被截断,并重新记录日志。

LogFileSize=0

### Option: DebugLevel
# Specifies debug level:
# 0 - basic information about starting and stopping of Zabbix processes
# 1 - critical information
# 2 - error information
# 3 - warnings
# 4 - for debugging (produces lots of information)
# 5 - extended debugging (produces even more information)
#
# Mandatory: no
# Range: 0-5
# Default:
# DebugLevel=3
 DebugLevel| 否 | 0-5 |3 |指定调试等级:0 - Zabbix进程的起停基本信息 1重要信息 2错误信息 3警告信息 4调试信息(产生大量信息) 5扩展调试 (产生更多信息)


### Option: PidFile
# Name of PID file.
#
# Mandatory: no
# Default:
# PidFile=/tmp/zabbix_server.pid
PidFile=/var/run/zabbix/zabbix_server.pid
PidFile  PID文件名称.

### Option: SocketDir
# IPC socket directory.
#       Directory to store IPC sockets used by internal Zabbix services.
#
# Mandatory: no
# Default:
# SocketDir=/tmp
SocketDir=/var/run/zabbix
SocketDir内部服务使用的用于存储 IPC sockets的目录。从Zabbix 3.4.0开始支持该参数。


### Option: DBHost
# Database host name.
# If set to localhost, socket is used for MySQL.
# If set to empty string, socket is used for PostgreSQL.
#
# Mandatory: no
# Default:
# DBHost=localhost
DBHost 数据库主机名。\\ 如果是MySQL localhost或空字符串会导致使用套接字。 如果是 PostgreSQL\\ 只有空字符串会使用套接字。

### Option: DBName
# Database name.
#
# Mandatory: yes
# Default:
# DBName=
DBName=zabbix
DBName 数据库名称。


### Option: DBSchema
# Schema name. Used for IBM DB2 and PostgreSQL.
#
# Mandatory: no
# Default:
# DBSchema=
DBSchema 数据库Schema 名字。仅IBM DB2 和 PostgreSQL使用

### Option: DBUser
# Database user.
#
# Mandatory: no
# Default:
# DBUser=
DBUser=zabbix
DBName 数据库用户名

### Option: DBPassword
# Database password.
# Comment this line if no password is used.
#
# Mandatory: no
# Default:
DBPassword=123456
DBPassword 数据库登录密码。\\ 如果数据库没有密码,请注释掉此参数。

### Option: DBSocket
# Path to MySQL socket.
#
# Mandatory: no
# Default:
# DBSocket=
DBSocket MySQL套接字文件的路径。

### Option: DBPort
# Database port when not using local socket.
#
# Mandatory: no
# Range: 1024-65535
# Default:
# DBPort=
DBPort 本地套接字链接时不使用该参数。

### Option: HistoryStorageURL
# History storage HTTP[S] URL.
#
# Mandatory: no
# Default:
# HistoryStorageURL=
HistoryStorageURL| 否 |  | 历史数据存储 HTTP[S] URL。\\ 这个参数参考 [[manual:appendix:install:elastic_search_setup|Elasticsearch]]进行配置.

### Option: HistoryStorageTypes
# Comma separated list of value types to be sent to the history storage.
#
# Mandatory: no
# Default:
# HistoryStorageTypes=uint,dbl,str,log,text
HistoryStorageTypes| 否 |  |uint,dbl,str,log,text |以逗号分隔的列表配置哪些类型的历史数据需要存储到Elasticsearch。
这个参数参考  [[manual:appendix:install:elastic_search_setup|Elasticsearch]] 进行配置。

### Option: HistoryStorageDateIndex
# Enable preprocessing of history values in history storage to store values in different indices based on date.
# 0 - disable
# 1 - enable
#
# Mandatory: no
# Default:
# HistoryStorageDateIndex=0
HistoryStorageDateIndex | 否 |  |0 |启用历史数据预处理,可以将数据存储到不同的基于时间的索引:\\ 0 - 禁止\\ 1 - 允许

### Option: ExportDir
# Directory for real time export of events, history and trends in newline delimited JSON format.
# If set, enables real time export.
#
# Mandatory: no
# Default:
# ExportDir=
ExportDir| 否 | | |以换行符分隔的JSON格式[[:manual/appendix/install/real_time_export|实时导出]]事件, 历史数据和趋势数据到这个目录。如果设置,则启用实时导出数据到这个目录。\\ 此参数从Zabbix 4.0.0开始支持。

### Option: ExportFileSize
# Maximum size per export file in bytes.
# Only used for rotation if ExportDir is set.
#
# Mandatory: no
# Range: 1M-1G
# Default:
# ExportFileSize=1G
ExportFileSize| 否 | 1M-1G |1G |每个导出文件的最大限制,单位为字节。仅当ExportDir参数设置后才使用。\\ 此参数从Zabbix 4.0.0开始支持。

############ ADVANCED PARAMETERS ################

### Option: StartPollers
# Number of pre-forked instances of pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPollers=5
StartPollers| 否 | 0-1000 |5 |轮询进程的初始实例数量。\\//注意//如果要内部,聚合,计算的监控项能正常工作,这个参数值必须大于0。

### Option: StartIPMIPollers
# Number of pre-forked instances of IPMI pollers.
#       The IPMI manager process is automatically started when at least one IPMI poller is started.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartIPMIPollers=0
StartIPMIPollers| 否 | 0-1000 |0 |IPMI 轮询进程的初始实例数量。\\ 在Zabbix 1.8.5版本之前,最大能设置为255.

### Option: StartPreprocessors
# Number of pre-forked instances of preprocessing workers.
#       The preprocessing manager process is automatically started when preprocessor worker is started.
#
# Mandatory: no
# Range: 1-1000
# Default:
# StartPreprocessors=3
StartPreprocessors| 否 | 1-1000 |3 |预处理工作进程的初始实例数量。\\预处理管理进程将跟随预处理工作进程启动。\\ 从Zabbix 3.4.0开始支持该参数。

### Option: StartPollersUnreachable
# Number of pre-forked instances of pollers for unreachable hosts (including IPMI and Java).
# At least one poller for unreachable hosts must be running if regular, IPMI or Java pollers
# are started.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPollersUnreachable=1
StartPollersUnreachable| 否 | 0-1000 |1 |不可达主机 (包括IPMI 和 Java)的轮询进程的初始实例数量。\\ 从Zabbix 2.4.0开始,如果IPMI或Java轮询器启动,那么至少有一个针对不可访问主机的轮询进程必须运行。\\在Zabbix 1.8.5版本之前,最大能设置为255。\\ 这个参数从Zabbix 1.8.3开始得到了支持。|

### Option: StartTrappers
# Number of pre-forked instances of trappers.
# Trappers accept incoming connections from Zabbix sender, active agents and active proxies.
# At least one trapper process must be running to display server availability and view queue
# in the frontend.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartTrappers=5
StartTrappers| 否 | 0-1000 |5 |trapper进程的初始实例数量。\\ Trapper接收来自Zabbix发送者、主动agent和主动proxies的数据。 \\ 至少要运行一个trapper进程用于在web前端展示服务器可用性和队列视图。\\ 在Zabbix 1.8.5版本之前,最大能设置为255。|


### Option: StartPingers
# Number of pre-forked instances of ICMP pingers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartPingers=1
StartPingers| 否 | 0-1000 |1 |ICMP pingers进程的初始实例数量


### Option: StartDiscoverers
# Number of pre-forked instances of discoverers.
#
# Mandatory: no
# Range: 0-250
# Default:
StartDiscoverers=50
StartDiscoverers 发现进程的初始实例数量。

### Option: StartHTTPPollers
# Number of pre-forked instances of HTTP pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
# StartHTTPPollers=1
StartHTTPPollers| 否 | 0-1000 |1 |HTTP 轮询进程的初始实例数量

### Option: StartTimers
# Number of pre-forked instances of timers.
# Timers process maintenance periods.
# Only the first timer process handles host maintenance updates. Problem suppression updates are shared
# between all timers.
#
# Mandatory: no
# Range: 1-1000
# Default:
# StartTimers=1
StartTimers 计时器进程的初始实例数量

### Option: StartEscalators
# Number of pre-forked instances of escalators.
#
# Mandatory: no
# Range: 0-100
# Default:
# StartEscalators=1
StartEscalators| 否 | 1-100 |1 |escalators进程的初始实例数量

### Option: StartAlerters
# Number of pre-forked instances of alerters.
# Alerters send the notifications created by action operations.
#
# Mandatory: no
# Range: 0-100
# Default
# StartAlerters=3
StartAlerters| 否 | 1-100 |3 |报警进程的初始实例数量。

### Option: JavaGateway
# IP address (or hostname) of Zabbix Java gateway.
# Only required if Java pollers are started.
#
# Mandatory: no
# Default:
JavaGateway=127.0.0.1
JavaGateway| 否 | | |Zabbix Java 网关的IP 地址 (或主机名) 。\\ Java 轮询器启动时才需要该参数


### Option: JavaGatewayPort
# Port that Zabbix Java gateway listens on.
#
# Mandatory: no
# Range: 1024-32767
# Default:
JavaGatewayPort=10052
| JavaGatewayPort| 否 | 1024-32767 |10052 |Zabbix Java 网关监听端口

### Option: StartJavaPollers
# Number of pre-forked instances of Java pollers.
#
# Mandatory: no
# Range: 0-1000
# Default:
StartJavaPollers=5
StartJavaPollers| 否 | 0-1000 |0 |Java 轮询子进程的初始实例数量

### Option: StartVMwareCollectors
# Number of pre-forked vmware collector instances.
#
# Mandatory: no
# Range: 0-250
# Default:
# StartVMwareCollectors=0
StartVMwareCollectors| 否 |0-250  |0  |vmware采集器进程的初始实例数量

### Option: VMwareFrequency
# How often Zabbix will connect to VMware service to obtain a new data.
#
# Mandatory: no
# Range: 10-86400
# Default:
# VMwareFrequency=60
VMwareFrequency| 否 |10-86400  |60  |间隔多少秒从单个VMware服务收集数据。\\任何VMware监控项的最小更新周期都大于或等于该时间

### Option: VMwarePerfFrequency
# How often Zabbix will connect to VMware service to obtain performance data.
#
# Mandatory: no
# Range: 10-86400
# Default:
# VMwarePerfFrequency=60
VMwarePerfFrequency | 否 |10-86400  |60  |间隔多少秒从单个VMware服务检索性能计数器统计数据。

### 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:
# VMwareCacheSize=8M
VMwareCacheSize| 否 |256K-2G  |8M  |存储VMware数据的共享内存大小

### Option: VMwareTimeout
# Specifies how many seconds vmware collector waits for response from VMware service.
#
# Mandatory: no
# Range: 1-300
# Default:
# VMwareTimeout=10
VMwareTimeout | 否 | 1-300 |10 |vmware采集器等待 VMware 服务(vCenter or ESX 管理程序)响应的最大时长

### 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:
# SNMPTrapperFile=/tmp/zabbix_traps.tmp

SNMPTrapperFile=/var/log/snmptrap/snmptrap.log
SNMPTrapperFile| 否 | | /tmp/zabbix_traps.tmp |临时文件, 用于传递 SNMP trap守护进程的数据给server.\\ 必须和 zabbix_trap_receiver.pl或 SNMPTT 配置文件中的配置保持一致。\\ 从Zabbix 2.0.0开始支持该参数。

### Option: StartSNMPTrapper
# If 1, SNMP trapper process is started.
#
# Mandatory: no
# Range: 0-1
# Default:
# 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:
# ListenIP=0.0.0.0

# ListenIP=127.0.0.1

### Option: HousekeepingFrequency
# How often Zabbix will perform housekeeping procedure (in hours).
# Housekeeping is removing outdated information from the database.
# To prevent Housekeeper from being overloaded, no more than 4 times HousekeepingFrequency
# hours of outdated information are deleted in one housekeeping cycle, for each item.
# To lower load on server startup housekeeping is postponed for 30 minutes after server start.
# With HousekeepingFrequency=0 the housekeeper can be only executed using the runtime control option.
# In this case the period of outdated information deleted in one housekeeping cycle is 4 times the
# period since the last housekeeping cycle, but not less than 4 hours and not greater than 4 days.
#
# Mandatory: no
# Range: 0-24
# Default:
# HousekeepingFrequency=1
Zabbix 执行 housekeeping 的频率 (单位为小时)。\\ housekeeping负责从数据库中删除过期的信息。\\ //注意//: 为了防止 housekeeper 负载过大 (例如, 当历史和趋势周期大大减小时), 对于每一个监控项,不会在一个housekeeping周期内删除超过4倍HousekeepingFrequency 的过期数据。 因此, 如果 HousekeepingFrequency 是 1小时, 一个周期内不会删除超过4小时的过期信息 (从最旧的数据开始) 。\\ //备注//: 为降低 server压力, housekeeping将在server启动以后,延迟30分钟执行。 因此, 如果 HousekeepingFrequency 是1小时,serverg启动30分后执行第一次 housekeeping , 然后按1小时为周期重复执行。从Zabbix 2.4.0以后有了这种延迟行为。\\ 从Zabbix 3.0.0开始,可以设置HousekeepingFrequency为0来禁止自动housekeeping。 此时 housekeeping 只能通过 //housekeeper_execute// 启动, 在一个housuekeeping周期内删除的过期信息时长为从最后一次housekeeping以来到配置周期的4倍,不少于4小时且不大于4天

### 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.
# 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=5000

### Option: CacheSize
# Size of configuration cache, in bytes.
# Shared memory size for storing host, item and trigger data.
#
# Mandatory: no
# Range: 128K-8G
# Default:
# CacheSize=8M
 CacheSize 缓存大小, 单位为字节。\\ 用于存储主机、监控项、触发器数据的共享内存大小。\\ Zabbix2.2.3以前的版本最大可配置值为2GB。 |


### Option: CacheUpdateFrequency
# How often Zabbix will perform update of configuration cache, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
# CacheUpdateFrequency=60
CacheUpdateFrequency Zabbix 缓存更新频率, 单位为秒.\\ 另外参考 [[:manual/concepts/server#server_process|runtime control]] 选项。  |

### Option: StartDBSyncers
# Number of pre-forked instances of DB Syncers.
#
# Mandatory: no
# Range: 1-100
# Default:
# StartDBSyncers=4
StartDBSyncers| 否 | 1-100 |4 |数据库进程的初始实例数量。\\ 在版本1.8.5之前,上限是64。\\ 这个参数从Zabbix 1.8.3开始得到了支持。

### Option: HistoryCacheSize
# Size of history cache, in bytes.
# Shared memory size for storing history data.
#
# Mandatory: no
# Range: 128K-2G
# Default:
# HistoryCacheSize=16M
HistoryCacheSize| 否 | 128K-2G |16M |历史缓存数据大小, 单位为字节。

### Option: HistoryIndexCacheSize
# Size of history index cache, in bytes.
# Shared memory size for indexing history cache.
#
# Mandatory: no
# Range: 128K-2G
# Default:
# HistoryIndexCacheSize=4M
HistoryIndexCacheSize| 否 | 128K-2G |4M |历史索引缓存大小, 单位为字节。\\缓存一个item大概需要大小为100字节的空间。\\ 该参数从Zabbix 3.0.0开始支持。

### Option: TrendCacheSize
# Size of trend cache, in bytes.
# Shared memory size for storing trends data.
#
# Mandatory: no
# Range: 128K-2G
# Default:
# TrendCacheSize=4M
TrendCacheSize| 否 | 128K-2G |4M |趋势数据缓存大小,单位字节。\\ 用于存储趋势数据的共享内存大小。

### Option: ValueCacheSize
# Size of history value cache, in bytes.
# Shared memory size for caching item history data requests.
# Setting to 0 disables value cache.
#
# Mandatory: no
# Range: 0,128K-64G
# Default:
# ValueCacheSize=8M
ValueCacheSize| 否 | 0,128K-64G |8M |历史数据缓存大小, 单位为字节。\\ 0即禁止缓存 (不建议).\\ 当缓存大小超过共享内存时,每5分钟会向服务器日志写入一条警告信息。\\ 从 Zabbix 2.2.0开始支持该参数。hared memory size for caching item history data reque

### Option: Timeout
# Specifies how long we wait for agent, SNMP device or external check (in seconds).
#
# Mandatory: no
# Range: 1-30
# Default:
# Timeout=3
Timeout=4
Timeout agent, SNMP设备或外部检查的超时时长(单位为秒)

### Option: TrapperTimeout
# Specifies how many seconds trapper may spend processing new data.
#
# Mandatory: no
# Range: 1-300
# Default:
# TrapperTimeout=300
TrapperTimeout| 否 | 1-300 |300 |定义trapper处理数据的超时时间

### Option: UnreachablePeriod
# After how many seconds of unreachability treat a host as unavailable.
#
# Mandatory: no
# Range: 1-3600
# Default:
# UnreachablePeriod=45
 UnreachablePeriod 在主机 [[manual:appendix:items:unreachability#unreachable_host|不可用]]多少秒后,即视为主机不可用。

### Option: UnavailableDelay
# How often host is checked for availability during the unavailability period, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
#UnavailableDelay=60
UnavailableDelay| 否 | 1-3600 |60 |在资源[[manual:appendix:items:unreachability#unavailable_host|不可用]]期间,Zabbix多少秒检查一次资源是否可用

### Option: UnreachableDelay
# How often host is checked for availability during the unreachability period, in seconds.
#
# Mandatory: no
# Range: 1-3600
# Default:
# UnreachableDelay=15
UnreachableDelay 在资源[[manual:appendix:items:unreachability#unreachable_host|不可达]]期间 ,Zabbix多少秒检查一次资源是否可达

### Option: AlertScriptsPath
# Full path to location of custom alert scripts.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# AlertScriptsPath=${datadir}/zabbix/alertscripts

AlertScriptsPath=/usr/lib/zabbix/alertscripts
AlertScriptsPath /usr/local/share/zabbix/alertscripts 自定义报警脚本位置 (依赖编译安装时的参数设置)

### Option: ExternalScripts
# Full path to location of external scripts.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# ExternalScripts=${datadir}/zabbix/externalscripts

ExternalScripts=/usr/lib/zabbix/externalscripts

### Option: FpingLocation
# Location of fping.
# Make sure that fping binary has root ownership and SUID flag set.
#
# Mandatory: no
# Default:
# 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:
# Fping6Location=/usr/sbin/fping6

### Option: SSHKeyLocation
# Location of public and private keys for SSH checks and actions.
#
# Mandatory: no
# Default:
# SSHKeyLocation=
SSLCALocation| 否 | | |为SSL服务器证书验证覆盖证书颁发机构(CA)文件的位置。如果不设置,系统范围的目录将被使用。

### Option: LogSlowQueries
# How long a database query may take before being logged (in milliseconds).
# Only works if DebugLevel set to 3, 4 or 5.
# 0 - don't log slow queries.
#
# Mandatory: no
# Range: 1-3600000
# Default:
# LogSlowQueries=0
LogSlowQueries| 否 | 0-3600000 |0 |数据库查询消耗时间,大于该时间将会记入日志 (毫秒)。\\ 0 - 不记录慢查询日志。\\  DebugLevel=3时该选项可用

LogSlowQueries=3000

### Option: TmpDir
# Temporary directory.
#
# Mandatory: no
# Default:
# TmpDir=/tmp

### Option: StartProxyPollers
# Number of pre-forked instances of pollers for passive proxies.
#
# Mandatory: no
# Range: 0-250
# Default:
# StartProxyPollers=1
StartProxyPollers| 否 | 0-250 |1 |被动proxy的轮询进程初始实例数量。\\在Zabbix 1.8.5版本之前,最大能设置为255。\\ 从Zabbix 1.8.3开始支持该参数。

### 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:
# 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:
# 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 the user specified by the User configuration option instead.
# Has no effect if started under a regular user.
# 0 - do not allow
# 1 - allow
#
# Mandatory: no
# Default:
# AllowRoot=0
AllowRoot 允许服务以 'root'身份运行。 如果该参数配置为禁止,并且服务仍以root身份启动,服务会切换到使用 'zabbix'用户启动 。
对于以普通用户启动的,该参数没有影响。\\ 0 - 禁止\\ 1 - 允许\\ Zabbix 2.2.0。以后的版本都支持这个参数 |

### Option: User
# Drop privileges to a specific, existing user on the system.
# Only has effect if run as 'root' and AllowRoot is disabled.
#
# Mandatory: no
# Default:
# User=zabbix
User 为了降低权限使用普通用户。\\ 仅当以'root'身份运行且AllowRoot参数设置为禁止时,该参数才起作用。\\ 从Zabbix 2.4.0开始支持该参数。

### Option: Include
# You may include individual files or all files in a directory in the configuration file.
# Installing Zabbix will create include directory in /usr/local/etc, unless modified during the compile time.
#
# Mandatory: no
# Default:
# Include=

# Include=/usr/local/etc/zabbix_server.general.conf
# Include=/usr/local/etc/zabbix_server.conf.d/
# Include=/usr/local/etc/zabbix_server.conf.d/*.conf

### Option: SSLCertLocation
# Location of SSL client certificates.
# This parameter is used only in web monitoring.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# SSLCertLocation=${datadir}/zabbix/ssl/certs
SSLCertLocation 用于客户端身份验证的SSL证书文件的位置,该参数只用于web监控

### Option: SSLKeyLocation
# Location of private keys for SSL client certificates.
# This parameter is used only in web monitoring.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# SSLKeyLocation=${datadir}/zabbix/ssl/keys
SSLKeyLocation| 否 | |  |用于客户端身份验证的SSL私钥文件的位置。\\ 该参数只用于web监控

### Option: SSLCALocation
# Override the location of certificate authority (CA) files for SSL server certificate verification.
# If not set, system-wide directory will be used.
# This parameter is used only in web monitoring and SMTP authentication.
#
# Mandatory: no
# Default:
# SSLCALocation=
SSLCALocation| 否 | | |为SSL服务器证书验证覆盖证书颁发机构(CA)文件的位置。如果不设置,系统范围的目录将被使用。

### Option: StatsAllowedIP
# List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of external Zabbix instances.
# Stats request will be accepted only from the addresses listed here. If this parameter is not set no stats requests
# will be accepted.
# If IPv6 support is enabled then '127.0.0.1', '::127.0.0.1', '::ffff:127.0.0.1' are treated equally
# and '::/0' will allow any IPv4 or IPv6 address.
# '0.0.0.0/0' can be used to allow any IPv4 address.
# Example: StatsAllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
#
# Mandatory: no
# Default:
# StatsAllowedIP=

####### LOADABLE MODULES #######

### Option: LoadModulePath
# Full path to location of server modules.
# Default depends on compilation options.
# To see the default path run command "zabbix_server --help".
#
# Mandatory: no
# Default:
# LoadModulePath=${libdir}/modules

### Option: LoadModule
# Module to load at server startup. Modules are used to extend functionality of the server.
# Formats:
#  LoadModule=<module.so>
#  LoadModule=<path/module.so>
#  LoadModule=</abs_path/module.so>
# Either the module must be located in directory specified by LoadModulePath or the path must precede the module name.
# If the preceding path is absolute (starts with '/') then LoadModulePath is ignored.
# It is allowed to include multiple LoadModule parameters.
#
# Mandatory: no
# Default:
# LoadModule=

####### TLS-RELATED PARAMETERS #######

### Option: TLSCAFile
# Full pathname of a file containing the top-level CA(s) certificates for
# peer certificate verification.
#
# Mandatory: no
# Default:
# TLSCAFile=
TLSCAFile| 否 |  | |包含用于对等证书验证的顶级CA(s)证书的文件的完整路径名,用于Zabbix组件之间的加密通信。

### Option: TLSCRLFile
# Full pathname of a file containing revoked certificates.
#
# Mandatory: no
# Default:
# TLSCRLFile=
TLSCRLFile 包含已吊销证书文件的完整路径名, 用于Zabbix组件之间的加密通信

### Option: TLSCertFile
# Full pathname of a file containing the server certificate or certificate chain.
#
# Mandatory: no
# Default:
# TLSCertFile=
TLSCertFile 包含服务器证书或证书链文件的完整路径名,用于Zabbix组件之间的加密通信

### Option: TLSKeyFile
# Full pathname of a file containing the server private key.
#
# Mandatory: no
# Default:
# TLSKeyFile=
TLSKeyFile 包含私钥文件的完整路径名,用于Zabbix组件之间的加密通信

posted @ 2020-03-13 17:36  为了等  阅读(199)  评论(0编辑  收藏  举报