diff --git a/config_templates/agent2/zabbix_agent2_network.conf b/config_templates/agent2/zabbix_agent2_network.conf index 5aba3bd28..3a7ce6461 100644 --- a/config_templates/agent2/zabbix_agent2_network.conf +++ b/config_templates/agent2/zabbix_agent2_network.conf @@ -8,6 +8,16 @@ ListenIP=${ZBX_LISTENIP} +### 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: SourceIP # Source IP address for outgoing connections. #