-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Blocker
-
Affects Version/s: 3.0.0beta2
-
Component/s: Agent (G)
Zabbix agent no longer seems to start on Windows as a service, but there is no error in the log (in fact, the log is not even created). The problem seems to be in the following fragment in zabbix_agentd.c:
... default: if (0 != (t->flags & ZBX_TASK_FLAG_MULTIPLE_AGENTS)) { zbx_error("multiple agents option can be used only with Zabbix agent services"); ret = FAIL; goto out; } ...
It is likely to be a problem, because when Windows starts our agent as a service, it passes --multiple-agents option without -i, -s, -x, -d, but we expect --multiple-agent to only be used in conjuction with the latter.
This is a regression from ZBXNEXT-611, which added --foreground option.