-
Incident report
-
Resolution: Fixed
-
Major
-
2.0.4, 2.0.5
-
AIX version 5.3, 7.1
Hello.
I have a problem with the 2.0.4 version of zabbix_sender. When i use it
with stdout on terminal, it returns "info from server":
- ./zabbix_sender -z zabbix_server -i /var/run/zabbix/cache.nmon 2>&1
info from server: "Processed 12 Failed 0 Total 12 Seconds spent 0.000201"
sent: 12; skipped: 0; total: 12
But when stdout is redirected, no info from server appears:
- ./zabbix_sender -z zabbix_server -i /var/run/zabbix/cache.nmon
2>&1 | cat
sent: 12; skipped: 0; total: 12
Our scripts are dependent on this info (especially Failed count). Is
there any other way to get information about failed keys in sending session?
Or isn't it a bug?
When I include an invalid key in the file, responses are as follows:
- ./zabbix_sender -z zabbix_server -i /var/run/zabbix/cache.nmon 2>&1
info from server: "Processed 12 Failed 1 Total 13 Seconds spent 0.000205"
sent: 13; skipped: 0; total: 13
- ./zabbix_sender -z zabbix_server -i /var/run/zabbix/cache.nmon
2>&1 | cat
sent: 13; skipped: 0; total: 13
In the latter case I have no information about failing key. Return value
is still 0.
Thank you.