-
Problem report
-
Resolution: Fixed
-
Minor
-
5.0.28, 6.2.3
-
None
-
Sprint 93 (Oct 2022), Sprint 94 (Nov 2022)
-
0.25
Create script /tmp/script.js with content:
return value;
This works:
# zabbix_js -s /tmp/script.js -p 1 --timeout 20 -l 2 1
The short version of timeout does not work:
# zabbix_js -s /tmp/script.js -p 1 -t 20 -l 2 Segmentation fault (core dumped)
Version:
zabbix_js (Zabbix) 5.0.28 Revision b2b8e2ce82d 19 September 2022, compilation time: Sep 19 2022 09:47:43Copyright (C) 2022 Zabbix SIA License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it according to the license. There is NO WARRANTY, to the extent permitted by law.This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/).Compiled with OpenSSL 1.1.1k FIPS 25 Mar 2021 Running with OpenSSL 1.1.1k FIPS 25 Mar 2021
and:
zabbix_js (Zabbix) 6.2.3
Revision 98ee88fc19d 21 September 2022, compilation time: Sep 21 2022 10:26:52Copyright (C) 2022 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.