mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-10 23:59:06 +01:00
118 lines
2.7 KiB
Plaintext
118 lines
2.7 KiB
Plaintext
# This is a configuration file for Zabbix web_service
|
|
# To get more information about Zabbix, visit https://www.zabbix.com
|
|
|
|
############ GENERAL PARAMETERS #################
|
|
|
|
### 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=console
|
|
|
|
### 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=${ZBX_DEBUGLEVEL}
|
|
|
|
### Option: AllowedIP
|
|
# List of comma delimited IP addresses, optionally in CIDR notation, or DNS names of Zabbix servers and Zabbix proxies.
|
|
# Incoming connections will be accepted only from the hosts listed here.
|
|
# 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: AllowedIP=127.0.0.1,192.168.1.0/24,::1,2001:db8::/32,zabbix.example.com
|
|
#
|
|
# Mandatory: yes
|
|
# Default:
|
|
# AllowedIP=
|
|
|
|
AllowedIP=${ZBX_ALLOWEDIP}
|
|
|
|
### Option: ListenPort
|
|
# Service will listen on this port for connections from the server.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1024-32767
|
|
# Default:
|
|
# ListenPort=10053
|
|
|
|
ListenPort=${ZBX_LISTENPORT}
|
|
|
|
### Option: Timeout
|
|
# Spend no more than Timeout seconds on formatting dashboard as PDF
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1-30
|
|
# Default:
|
|
# Timeout=10
|
|
|
|
Timeout=${ZBX_TIMEOUT}
|
|
|
|
### Option: TLSAccept
|
|
# What incoming connections to accept.
|
|
# Specifies what type of connection to use:
|
|
# unencrypted - accept connections without encryption
|
|
# cert - accept connections secured with TLS and a certificate
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# TLSAccept=unencrypted
|
|
|
|
TLSAccept=${ZBX_TLSACCEPT}
|
|
|
|
### Option: TLSCAFile
|
|
# Full pathname of a file containing the top-level CA(s) certificates for
|
|
# peer certificate verification.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# TLSCAFile=
|
|
|
|
TLSCAFile=${ZBX_TLSCAFILE}
|
|
|
|
### Option: TLSCertFile
|
|
# Full pathname of a file containing the service certificate or certificate chain.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# TLSCertFile=
|
|
|
|
TLSCertFile=${ZBX_TLSCERTFILE}
|
|
|
|
### Option: TLSKeyFile
|
|
# Full pathname of a file containing the service private key.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# TLSKeyFile=
|
|
|
|
TLSKeyFile=${ZBX_TLSKEYFILE}
|
|
|
|
### Option: IgnoreURLCertErrors
|
|
# Ignore TLS certificate errors when accessing Frontend URL
|
|
# 0 - do not ignore
|
|
# 1 - ignore
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# IgnoreURLCertErrors=0
|
|
|
|
IgnoreURLCertErrors=${ZBX_IGNOREURLCERTERRORS}
|