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

Introducing "Script item" (backend)

XMLWordPrintable

    • Sprint 69 (Oct 2020)
    • 5

      With the introduction of JS preprocessing users get the ultimate preprocessing options. With the inclusion of HTTP requests into JS, this provides great options for data collection.

      The problem is that there is no proper way to use JS for data collection. This leads to the creation of "hack items". Some generic item like "agent.ping" is created and preprocessing is added to it just to make use of the options available in JS.

      It looks like this is the time when "Script item" should be introduced. Script item would execute JS script just like it is done in preprocessing.

      Benefits of such a solution:

      1. Additional monitoring option.
      2. No need to introduce "hackish" items just to use JS.
      3. Covers cases when HTTP agent monitoring is requiring multiple steps or complex logic.

        1. image-2020-10-05-18-06-33-945.png
          26 kB
          Michael Veksler
        2. log.txt
          42 kB
          Natalja Romancaka
        3. Screenshot from 2020-10-27 17-54-07.png
          53 kB
          Dimitri Bellini
        4. Screenshot from 2020-10-30 17-50-11.png
          8 kB
          Dimitri Bellini

            asestakovs Aleksejs Sestakovs
            vjaceslavs Vjaceslavs Bogdanovs
            Team C
            Votes:
            22 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: