[ZBX-22805] JavaScript engine exception "Error: alloc failed" (Kubernetes, Veeam templates) Created: 2023 May 15 Updated: 2024 Apr 10 Resolved: 2023 Jun 20 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Templates (T) |
Affects Version/s: | 6.0.16 |
Fix Version/s: | 6.0.19rc1, 6.4.4rc1, 7.0.0alpha2, 7.0 (plan) |
Type: | Problem report | Priority: | Critical |
Reporter: | Sarang | Assignee: | Andrejs Kozlovs |
Resolution: | Fixed | Votes: | 1 |
Labels: | Agent, kubernetes | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
||||||||||||
Issue Links: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 100 (May 2023), Sprint 101 (Jun 2023) | ||||||||||||
Story Points: | 1 |
Description |
{}Hello Team, |
Comments |
Comment by Oleksii Zagorskyi [ 2023 May 23 ] |
Let me share another case (Veeam* templates) which, I believe, has the same nature. First attempt it was with timeout 10 seconds.
~> tail -f /var/log/zabbix/zabbix_proxy.log
3865201:20230523:155910.918 [ VEEAM MANAGER ] ERROR: Error: cannot get URL: Timeout was reached.
3865201:20230523:155955.525 [ VEEAM MANAGER ] ERROR: Error: alloc failed.
The error: [ VEEAM MANAGER ] ERROR: Error: alloc failed. comes from this piece of JavaScript code: catch (error) { error += (String(error).endsWith('.')) ? '' : '.'; Zabbix.log(3, '[ VEEAM MANAGER ] ERROR: ' + error); return JSON.stringify({'error': error}); } of official script item "Veeam Manager: Get metrics" of "Veeam Backup Enterprise Manager by HTTP" official template. The "alloc failed" message is dynamic variable, returned in case if some specific/related things happens. It looks to me it might be not about integration, but about JavaScript engine itself and some resources management. |
Comment by Andrejs Kozlovs [ 2023 Jun 09 ] |
Available in:
|
Comment by Martins Valkovskis [ 2023 Jun 14 ] |
Updated documentation: |