-
Incident report
-
Resolution: Duplicate
-
Trivial
-
None
-
4.0.13
-
Zabbix Server & agents 4.0.8
RH7.2 Enterprise
-
Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020), Sprint 61 (Feb 2020), Sprint 62 (Mar 2020), Sprint 63 (Apr 2020), Sprint 64 (May 2020), Sprint 65 (Jun 2020), Sprint 66 (Jul 2020)
When doing remote command for an auto-registred agent with a non-default port, Server tries to remote command on the default port 10050 instead of the customized Port.
Below is the agent conf file.
- configuration v4.0.8
PidFile=/opt/XXX10/Logiciel/ZABXAGENT/run/zabbix_agentd_v4.pid
LogFile=/opt/XXX10/Logiciel/ZABXAGENT/log/zabbix_agentd_v4.log
EnableRemoteCommands=1
LogRemoteCommands=0
LogFileSize=256
Server=10.166.179.177,10.166.179.178,xxxx,xxxx
ListenPort=20050
ServerActive=10.166.179.179
LoadModulePath=/opt/ZAR10/Logiciel/ZABXAGENT/etc/zabbix/modules
LoadModule=zabbix_module_load.so
HostMetadata=USINE,LINUX
HostMetadataItem=system.run[cat /opt/XXX/Logiciel/ZABXAGENT/etc/zabbix/hostmetadata.conf]
Hostname=TOTO
Thanks for your status
Alain