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

Zabbix API does not allow import template which defines a trigger on an item which it inherited from another linked template

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Won't fix
    • 2.2.23, 3.0.28, 4.0.11, 4.2.5, 4.4.0alpha1
    • 5.0 (plan)
    • API (A), Templates (T)
    • None
    • Team D
    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 1

    Description

      Steps to reproduce:
      Import would fail if there is a trigger defined on a child template which refers to an item from a parent template.

      import-parameters.json
      example.json

      Result:

      ERROR: host: X.X.X.X - an error occurred on import: {"code":-32602,"data":"Incorrect item key \"system.cpu.load[]\" provided for trigger expression on \"Test Child\".","message":"Invalid params."}
      

      Expected:
      It imports succesfully to Zabbix if Zabbix web Interface is used.

      Initially found on 2.4.5, but 4.0 and 4.2 is also affected.

      Attachments

        Issue Links

          Activity

            People

              rlataria Roberts Lataria
              edgar.akhmetshin Edgar Akhmetshin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: