[ZBX-6216] Realtime mode of zabbix_sender doesn't work Created: 2013 Feb 05 Updated: 2017 May 30 Resolved: 2013 Feb 07 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 2.0.4 |
Fix Version/s: | 2.0.6rc1, 2.1.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Bastian Born | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | crash, realtime, sender | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Hi, You are using the function setvbuf() in zabbix_sender.c:386 without buffer and buffersize = 0. If you set the buffer to NULL you have to give a buffersize for internal allocation. The value 1024 works for me. Best regards, |
Comments |
Comment by Andris Zeila [ 2013 Feb 07 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-6216 Unfortunately win32 does not support mode change only with setvbuf() call, so the size is required parameter in windows. |
Comment by dimir [ 2013 Feb 11 ] |
Successfully tested. |
Comment by Andris Zeila [ 2013 Feb 12 ] |
Fixed in: |