I don't know if it's the intended behaviour, but when I launch the zabbix_agentd using the '-t' option, it doesn't read the configuration file. So, if I define some "user parameters", I couldn't get access to those parameters.
However, if I call it using the '-c' option it works just fine:
Taking a look at the zabbix_agentd code, I saw that when started with '-t', the CONFIG_FILE isn't initialized when calling load_user_parameters(). So this functions loads nothing.
Is this the intended behaviour or just a little bug?
Code:
$ zabbix_agentd -t system.test system.test[] [m|ZBX_NOTSUPPORTED]
Code:
$ zabbix_agentd -t system.test -c /etc/zabbix/zabbix_agentd.conf system.test [t|1]
Is this the intended behaviour or just a little bug?
Thanks for reporting!
Comment