Hello
We have some use cases with zabbix_sender, started by script.
There is an issue with the default plugin include configuration path in the agent2 configuration file.
The option in the same config file for include configuration path
When the script with the zabbix_sender is running on an different path as C:\Program Files\Zabbix Agent 2, the script will be stopped.

So, the zabbix_sender should be started after the script change to the correct directory. Or the configuration in the default config file from the agent2 must be changed.
We don't touch the default config file, because we have our config files in the include directory.
Is this a correctly and deliberately chosen default option or maybe a bug?
To resolve the issue, the option should be changed to
Because we don't change the default agent2 config file, we will change the caller script for the zabbix_sender.
We have some use cases with zabbix_sender, started by script.
There is an issue with the default plugin include configuration path in the agent2 configuration file.
Code:
# Include configuration files for plugins Include=.\zabbix_agent2.d\plugins.d\*.conf
Code:
Include=C:\Program Files\Zabbix Agent 2\zabbix_agent2.d\
So, the zabbix_sender should be started after the script change to the correct directory. Or the configuration in the default config file from the agent2 must be changed.
We don't touch the default config file, because we have our config files in the include directory.
Is this a correctly and deliberately chosen default option or maybe a bug?
To resolve the issue, the option should be changed to
Code:
Include=C:\Program Files\Zabbix Agent 2\zabbix_agent2.d\plugins.d\*.conf