PDA

View Full Version : [zabbix_sender-1.6] option -i does not work.


zabbix_es
14-10-2008, 18:38
Hello:

Neither
zabbix_sender -i <file>
nor
zabbix_sender --input-file <file>
work
zabbix_sender returns usage message.

zabbix_es
15-10-2008, 09:50
Using debugger I have found the reason.
Now, "-z <zabbix server>" is mandatory when with "-i <file>" it shouldn't be because zabbix server is in each line of the input file.

NOB
15-10-2008, 12:52
Using debugger I have found the reason.
Now, "-z <zabbix server>" is mandatory when with "-i <file>" it shouldn't be because zabbix server is in each line of the input file.

No, it's not :rolleyes:

Not only the command-line changed, the format of the input file, obviously, too.
See this thread (http://www.zabbix.com/forum/showthread.php?t=10676) for details.

The zabbix-server is no longer included in the input file.
So, that's why the parameter "-z <zabbix server>" is now mandatory !
IMHO this is a bug.

HTH,

Norbert.

zabbix_es
15-10-2008, 13:40
OK, so it's a bug in usage message because it says that zabbix server is the first column of each line in input file and also it's not enough clear in options.

I read the user's manual of version 1.6 and it is also insufficient.

Thank you!

NOB
15-10-2008, 14:13
OK, so it's a bug in usage message because it says that zabbix server is the first column of each line in input file and also it's not enough clear in options.

I read the user's manual of version 1.6 and it is also insufficient.

Thank you!

I'll try to summarize our findings about the zabbix_sender 1.6:


The usage message should be fixed
The option "-z zabbix server" should not be mandatory on the command-line
The file format should stay the same or another option to choose the new format should be available and/or, at least, the documentation updated


What do you think ?
Does that summary cover all the problems we noticed and is it the right proposal for a solution ?

Regards

Norbert.

zabbix_es
15-10-2008, 21:55
I agree with you, first point is prioritary but, in my case, points 2 and 3 are not important because I don't have so much scripts with zabbix_sender.
If most of administrators have a lot of scripts could be important to maintain compatibility.