Hi
the zabbix_sender insists on putting the IP-Adress (or hostname)
of the ZABBIX Server on the commandline (-z "zabbix server").
IMO the change is not required and therefore it's a bug and breaks most of
my old scripts using zabbix_sender. I think that it will break most
scripts of other users as well.
Here is the patch to get the old behaviour back. The zabbix_sender
will still work well. If no ZABBIX server is specified, i.e. neither
on the command-line nor in the agent configuration
file (possibly missing on the commandline), the zabbix_sender will still
complain.
However, it seems that the format of the input file (-i file) did
change, too.
Now the lines just contain hostname key value
Regards
Norbert.
the zabbix_sender insists on putting the IP-Adress (or hostname)
of the ZABBIX Server on the commandline (-z "zabbix server").
IMO the change is not required and therefore it's a bug and breaks most of
my old scripts using zabbix_sender. I think that it will break most
scripts of other users as well.
Here is the patch to get the old behaviour back. The zabbix_sender
will still work well. If no ZABBIX server is specified, i.e. neither
on the command-line nor in the agent configuration
file (possibly missing on the commandline), the zabbix_sender will still
complain.
However, it seems that the format of the input file (-i file) did
change, too.
Now the lines just contain hostname key value
Regards
Norbert.
Comment