Details
-
Type:
New Feature Request
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.4.5rc1, 5.0.0alpha2, 5.0 (plan)
-
Component/s: Agent (G)
-
Labels:None
-
Team:Team A
-
Sprint:Sprint 57 (Oct 2019), Sprint 58 (Nov 2019), Sprint 59 (Dec 2019), Sprint 60 (Jan 2020)
-
Story Points:1
Description
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.
Attachments
Issue Links
- mentioned in
-
Page Loading...