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

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

      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.

        1. example.json
          3 kB
          Edgar Akhmetshin
        2. import-parameters.json
          3 kB
          Edgar Akhmetshin

            rlataria Roberts Lataria (Inactive)
            edgar.akhmetshin Edgar Akhmetshin
            Team D
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: