[ZBXNEXT-38] Possibility to see what values have not been sent when using zabbix_sender with option "-i file.txt" Created: 2009 Jul 21 Updated: 2021 Mar 02 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Agent (G) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Igor Danoshaites (Inactive) | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 26 |
Labels: | patch, zabbix_sender | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | ZBXNEXT-38-show-failed-items-debuglevel-notice.patch | ||||||||
Issue Links: |
|
Description |
Will be nice if will be possible to see what values from the input file has not been sent when using zabbix_sender with option "-i file.txt". |
Comments |
Comment by richlv [ 2010 Oct 16 ] |
|
Comment by richlv [ 2010 Oct 16 ] |
other issues related to sender output : |
Comment by Ya Bo [ 2016 Jan 06 ] |
Hi everybody, Maybe adding an additional DebugLevel value will help to resolve this request. Currently 3x version has 5 levels: critical, error, warn, debug, ext-debug I propose to add yet one, so it will be: any installation does not require any changes in config. But anybody who need this functionality should change DebugLevel only. |
Comment by Ya Bo [ 2016 Jan 06 ] |
Additional level will be more convenient. of course, this level can be used not only for failed items. |
Comment by richlv [ 2016 Apr 16 ] |
the best would probably be returning the list of host/item/value (and maybe also time, if supplied ?) entries that failed - although one concern would be very large values why all of that - let's say if one is sending 200 timestamped values for the same item on the same host and 30 fail - how would the sender know which ones failed to either fix some issue or retry ? |
Comment by Joachim Jautz [ 2020 Mar 06 ] |
MotivationAllow me to motivate why the requested feature would be most valuable in some situations. We run zabbix_sender 4.2 as part of a process pipeline, that is, it runs continuously, receives item metrics on STDIN and there is a considerable throughput: zabbix_sender -z zabbix.example.com -p 10051 -r -i - The "real-time" (-r) switch requests to "Send values one by one as soon as they are received ... when reading from standard input." That said, this is a typical summary output we witness: Response from zabbix.example.com: "processed: 249; failed: 1; ... Currently there is no way to have zabbix_sender reveal this one failed item. PetitionIt would be great to hear an opinion from one of the Zabbix developers / contributors regarding these questions:
Thank you in advance. |