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

Add macro creation/edition for host prototypes

XMLWordPrintable

    • Sprint 62 (Mar 2020), Sprint 63 (Apr 2020)
    • 3

      Having the capability to create user-defined macros when defining a host prototype can be really useful in order pass values to this host that where only available in the LLD context, like {#SNMPINDEX} or {#SNMPVALUE}.

      Example : by creating a user-defined macros with the values of {#SNMPINDEX} on an host prototypes with a template attached, one can implement a LLD discovering sub-parts of an SNMP-enabled host (Power Supplys, Blades on a chassis, etc...) which then creates full-fledged hosts representing these sub-parts of the original host.
      Then these hosts can have items requesting OIDs relevant to them, by using the attached template with items refering to the user-defined macros storing the {#SNMPINDEX} found during the LLD.

        1. Selection_227.png
          107 kB
          Larisa Grigorjeva
        2. zbx_export_templates.xml
          2 kB
          Miks Kronkalns

            gcalenko Gregory Chalenko
            julien-llp Julien Leloup
            Team D
            Votes:
            62 Vote for this issue
            Watchers:
            46 Start watching this issue

              Created:
              Updated:
              Resolved: