-
New Feature Request
-
Resolution: Fixed
-
Trivial
-
None
-
None
-
Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020)
-
1
Create zabbix_js utility for embedded script testing. This utility must execute user script with a string parameter and print the result.
Supported parameters:
- -s <filename> - the filename of script to execute. If '-' specified as filename the script will be read from stdin
- -i <filename> - the filename of input parameter. If '-' specified as filename the input will be read from stdin
- -p <parameter> - the input parameter (to specify parameter from command line without using files)
- -l <parameter> - the log level (Zabbix log level value)
- -t <parameter> - the timeout
In the case of compilation of execution errors zabbix_js must print the error in stderr and exit with exit code 1. Otherwise zabbix_es must print the value returned from script.
Any logging must be also written to stderr.
- mentioned in
-
Page Loading...