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

Can't import template with trigger property that has dependency on Host trigger

    XMLWordPrintable

Details

    • Team C
    • Sprint 96 (Jan 2023), Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)
    • 0.5

    Description

      Steps to reproduce:
      1) Create Host with item and trigger (trigger1).
      2) Create template with discovery rule, item prototype and trigger prototype.
      3) In trigger prototype add Host trigger dependency (of trigger that created before).

      4) Export template.
      5) Delete created template.
      6) Try to import template back.

      Result:
      Error message

      Expected:
      No errors. Template imported.

      P.S.: added exported host and template file.

      Attachments

        1. error_message_dependencie_trigger.png
          29 kB
          Sergejs Maklakovs
        2. host with 1 item and 1 trigger.yaml
          0.5 kB
          Sergejs Maklakovs
        3. template with 1 trigger dep.yaml
          0.9 kB
          Sergejs Maklakovs
        4. trigger_dependencie.png
          13 kB
          Sergejs Maklakovs

        Activity

          People

            jfreibergs Janis Freibergs
            smaklakovs Sergejs Maklakovs
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: