Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-5671

Create zabbix_js utility

    XMLWordPrintable

    Details

    • 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

            Activity

              People

              Assignee:
              wiper Andris Zeila
              Reporter:
              wiper Andris Zeila
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: