[ZBXNEXT-6554] Zabbix Agent Remote Execution limit to 512kb Created: 2021 Mar 10 Updated: 2025 May 04 Resolved: 2023 Sep 24 |
|
| Status: | Closed |
| Project: | ZABBIX FEATURE REQUESTS |
| Component/s: | Agent (G) |
| Affects Version/s: | 5.0.9 |
| Fix Version/s: | 6.0.22rc1, 6.4.7rc1, 7.0.0alpha5, 7.0 (plan) |
| Type: | Change Request | Priority: | Medium |
| Reporter: | Dimitri Bellini | Assignee: | Dmitrijs Goloscapovs (Inactive) |
| Resolution: | Fixed | Votes: | 6 |
| Labels: | agent, remotecommands | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
RHEL 6.x/RHEL 7.x |
||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| Epic Link: | Zabbix 7.0 | ||||||||||||||||||||||||
| Team: | |||||||||||||||||||||||||
| Sprint: | Sprint 103 (Aug 2023), Sprint 104 (Sep 2023) | ||||||||||||||||||||||||
| Story Points: | 0.125 | ||||||||||||||||||||||||
| Description |
|
In big Enterprise machines a simple system.run like "ps -ef" could be very large (more than 1.5MB) and exceed the limit of the Zabbix Agent output of 512KB. Please increase this limit. Thanks |
| Comments |
| Comment by Nathan Liefting [ 2023 Aug 09 ] |
|
This issue is also present with UserParameters. 512KB is way too small as a size limit, this should be increased.
|
| Comment by Alex Kalimulin [ 2023 Aug 10 ] |
|
We should change MAX_EXECUTE_OUTPUT_LEN to 16MB. This will affect the max output size of:
Components involved: Agent, Agent2 (look for MaxExecuteOutputLenB), Server and Proxy. We should also document this change:
|
| Comment by Alex Kalimulin [ 2023 Aug 23 ] |
|
To avoid ugly workarounds with system.run we will also increase vfs.file.contents to 16MB. |
| Comment by Dmitrijs Goloscapovs (Inactive) [ 2023 Sep 08 ] |
|
Available in versions: |
| Comment by Nathan Liefting [ 2023 Sep 11 ] |
|
Amazing! Thanks for the quick response and fix on this. |
| Comment by Arturs Dancis [ 2023 Sep 19 ] |
|
Documentation updated:
|