[ZBXNEXT-5194] zabbix_sender: add new option, It should look for config file in the default config location Created: 2019 Apr 25 Updated: 2020 Jan 17 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Trivial |
Reporter: | Vitaly Zhuravlev | Assignee: | Michael Veksler |
Resolution: | Unresolved | Votes: | 1 |
Labels: | zabbix_sender | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Consider to add new option for zabbix_sender.exe and other platforms zabbix_sender --use-config - use zabbix_agent config if --use-config is used without -c then zabbix_agentd.conf is searched using config default location. For example: zabbix_sender.exe -s host -k key -o value .... --use-config
It's not such a big problem to provide /etc/zabbix/zabbix_agentd.conf on Linux, but paths are quite long when used on Windows (with zabbix_sender.exe). That where it would benefit the most with proper default.
P.S. As an alternative to --use-config, just provide --config without any value zabbix_sender.exe -s host -k key -o value .... --config |