[ZBX-9932] zabbix_get command cannot send more than 1024 bytes item key Created: 2015 Oct 02 Updated: 2017 May 30 Resolved: 2015 Nov 19 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G) |
Affects Version/s: | 2.2.10 |
Fix Version/s: | 2.2.12rc1, 2.4.8rc1, 3.0.0alpha5 |
Type: | Incident report | Priority: | Major |
Reporter: | Kodai Terashima | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | limits, zabbix_get | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
zabbix_get has a limitation in -k option, it truncates key to 1024 bytes. It should be increased to 65535 bytes because agent can accept 65535 bytes for item key. It's not possible to use zabbix_get for system.run with long command. |
Comments |
Comment by Viktors Tjarve [ 2015 Nov 06 ] |
Updated to no limitation for zabbix_get -k option length. Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9932 r56597 |
Comment by Andris Zeila [ 2015 Nov 09 ] |
The fix removes LF character from the agent request. While it's working because agent simply strips LF CR characters, we should not change protocol without a good reason. I added the missing LF character in r56601. Also minor code reangement so we don't have to try freeing the request if agent connection failed - r56602. Please review. Successfully tested viktors.tjarve REVIEWED. I agree with changes in r56601 and r56602. |
Comment by Viktors Tjarve [ 2015 Nov 13 ] |
Released in:
|
Comment by Martins Valkovskis [ 2015 Nov 19 ] |
Documented:
sasha Thanks! CLOSED |