From 7a07971338e40a935150321e30acab9ce867db7a Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Tue, 31 Dec 2024 23:40:49 +0900 Subject: [PATCH] Fixed missing ListenPort for Zabbix agent 2 --- config_templates/agent2/zabbix_agent2_network.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) 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. #