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

Ability to create LLD item prototype of type "dependent" with a master item NOT only item prototype

    XMLWordPrintable

Details

    • Team A
    • Sprint 32, Sprint 33, Sprint 34, Sprint 35, Sprint 36, Sprint 37, Sprint 39, Sprint 40, Sprint 41
    • 2.5

    Description

      The new dependent item functionality is awesome, but I would like an extension to make full use of it.
      If I try to create a low level discovery item prototype of type "Dependent" I can only chose a master item from the list of item prototypes of the Low Level discovery rule, I would like to chose a master item that is defined on the host or template level.

      Example of case scenario I have in mind:

      Host level:
      a) SQL query that returns an XML/JSON/CSV with many nodes in a single row/column

      LLD level:
      b) SQL query (used as LLD rule thanks to "db.odbc.discovery") that returns the list of nodes

      c) Dependent item prototype, with master item set to the host level query (a) but with post-processing searching for a specific node (b) that extracts the value for the specific node.

      in this way it would be possible to limit the number of queries to the database and also get the same value for all the nodes at the same time.

      Attachments

        1. discovery.txt
          11 kB
        2. explain.png
          explain.png
          18 kB
        3. zbx_export_hosts.xml
          11 kB

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              MVekslers Michael Veksler
              zalex_ua Oleksii Zagorskyi
              Votes:
              37 Vote for this issue
              Watchers:
              33 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: