-
Problem report
-
Resolution: Fixed
-
Major
-
5.0.14
-
None
-
CentOS 8
-
Sprint 78 (Jul 2021)
-
0.5
Steps to reproduce:
- 「ListenIP=0.0.0.0」 is specified in the zabbix_agent2.conf
ListenIP=0.0.0.0 is specified in the zabbix_agent2.conf, not comment out. - Start zabbix-agent2 service
systemctl start zabbix-agent2
- Check zabbix-agent2 service status
- Check log file (zabbix_agent2.log)
Result:
See service status
# systemctl status zabbix-agent2 ● zabbix-agent2.service - Zabbix Agent 2 Loaded: loaded (/usr/lib/systemd/system/zabbix-agent2.service; disabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since Mon 2021-07-26 11:37:21 JST; 1s ago Process: 30637 ExecStart=/usr/sbin/zabbix_agent2 -c $CONFFILE (code=exited, status=1/FAILURE) Main PID: 30637 (code=exited, status=1/FAILURE) 7月 26 11:37:21 localhost.localdomain systemd[1]: zabbix-agent2.service: Main process exited, code=exited, status=1/FAILURE 7月 26 11:37:21 localhost.localdomain systemd[1]: zabbix-agent2.service: Failed with result 'exit-code'.
See log file (zabbix_agent2.log)
2021/07/26 11:38:23.059327 Starting Zabbix Agent 2 [Zabbix server]. (5.0.14) 2021/07/26 11:38:23.060727 OpenSSL library (OpenSSL 1.1.1 FIPS 11 Sep 2018) initialized 2021/07/26 11:38:23.060811 using configuration file: /etc/zabbix/zabbix_agent2.conf 2021/07/26 11:38:23.060949 using plugin 'Agent' providing following interfaces: exporter ・・・ 2021/07/26 11:38:43.305863 cannot parse "ListenIP" parameter: value of ListenIP not present on the host: "0.0.0.0"
Expected:
Zabbix agent2 service start can be started normally, just like ListenIP parameter comment out.