Hello all,
I am trying to use zabbix_sender to send data from a file and I have spaces in server names. I double-quoted them but does not seem to help.
I found a defect that was supposed to be fixed in 1.8.3 (https://support.zabbix.com/browse/ZBX-1347). I am using 1.8.11 so it should be fixed there, right? Am I doing something wrong? Below is a test file that I use. The first row is processed successfully and the second one fails.
Thanks.
$ cat send_test.txt|zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -vv -i -
zabbix_sender [20937]: DEBUG: answer [{
"response":"success",
"info":"Processed 1 Failed 1 Total 2 Seconds spent 0.000041"}]
Info from server: "Processed 1 Failed 1 Total 2 Seconds spent 0.000041"
sent: 2; skipped: 0; total: 2
$ cat send_test.txt
"voice-ops-trial-b.name.com" ml.MessageServer RUNNING:PRIMARY
"CC Staging 00-00-P" ml.URS RUNNING:PRIMARY
$ zabbix_sender -V
Zabbix Sender v1.8.11 (revision 26205) (20 March 2012)
Compilation time: Apr 10 2012 20:50:08
$
I am trying to use zabbix_sender to send data from a file and I have spaces in server names. I double-quoted them but does not seem to help.
I found a defect that was supposed to be fixed in 1.8.3 (https://support.zabbix.com/browse/ZBX-1347). I am using 1.8.11 so it should be fixed there, right? Am I doing something wrong? Below is a test file that I use. The first row is processed successfully and the second one fails.
Thanks.
$ cat send_test.txt|zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -vv -i -
zabbix_sender [20937]: DEBUG: answer [{
"response":"success",
"info":"Processed 1 Failed 1 Total 2 Seconds spent 0.000041"}]
Info from server: "Processed 1 Failed 1 Total 2 Seconds spent 0.000041"
sent: 2; skipped: 0; total: 2
$ cat send_test.txt
"voice-ops-trial-b.name.com" ml.MessageServer RUNNING:PRIMARY
"CC Staging 00-00-P" ml.URS RUNNING:PRIMARY
$ zabbix_sender -V
Zabbix Sender v1.8.11 (revision 26205) (20 March 2012)
Compilation time: Apr 10 2012 20:50:08
$