mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-10 15:48:38 +01:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
### Option: ListenPort
|
|
# Agent will listen on this port for connections from the server.
|
|
#
|
|
# Mandatory: no
|
|
# Range: 1024-32767
|
|
# Default:
|
|
# ListenPort=10050
|
|
|
|
ListenPort=${ZBX_LISTENPORT}
|
|
|
|
### Option: ListenIP
|
|
# List of comma delimited IP addresses that the agent should listen on.
|
|
# First IP address is sent to Zabbix server if connecting to it to retrieve list of active checks.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# ListenIP=0.0.0.0
|
|
|
|
ListenIP=${ZBX_LISTENIP}
|
|
|
|
### Option: SourceIP
|
|
# Source IP address for outgoing connections.
|
|
#
|
|
# Mandatory: no
|
|
# Default:
|
|
# SourceIP=
|
|
|
|
SourceIP=${ZBX_SOURCEIP}
|
|
|
|
####### For advanced users - TCP-related fine-tuning parameters #######
|
|
|
|
## Option: ListenBacklog
|
|
# The maximum number of pending connections in the queue. This parameter is passed to
|
|
# listen() function as argument 'backlog' (see "man listen").
|
|
#
|
|
# Mandatory: no
|
|
# Range: 0 - INT_MAX (depends on system, too large values may be silently truncated to implementation-specified maximum)
|
|
# Default: SOMAXCONN (hard-coded constant, depends on system)
|
|
# ListenBacklog=
|
|
|
|
ListenBacklog=${ZBX_LISTENBACKLOG}
|