Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23992

Unable to create Item Prototypes from Discovery Rule

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.4.10
    • API (A), Templates (T)
    • None

      I am trying to monitor the Dell EMC PowerVault ME4024, but due to limitations I am forced to use API instead of SNMP. As a result, I am using a Python3 script to grab the JSON.

      Steps to reproduce:

      1. Created an Item "Discovery Controllers", to generate the JSON (file: controllers.json) > working
      2. Created Discovery Rule with the following settings:
        • Type: Dependent item
        • Master item: Discovery Controllers
        • LLD macro: {#ID} - JSONPath: $..['durable-id']
      3. Created Item Prototype with the following settings:
        • Name: Controller: {#ID}
        • Type: Dependent item
        • Key: cntrl.{#ID}
        • Master item: Discovery Controllers
        • Preprocessing steps:
          • JSONPath: $[?(@.'durable-id' == '\{#ID}')]
          • Trim: []"

      Result:

      Expected:
      What I try to achieve is to generate individual items.

            zabbix.support Zabbix Support Team
            RoBeDi Roland van 't Kruijs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: