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

Warning message when exporting host or template with cross-host dependencies

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 8.0.0alpha1 (master)
    • Frontend (F)

      Currently, exporting a single host that has dependencies on another host (e.g., items used in graphs or triggers) does not produce any warning. The export goes through, but on import, restoring data is impossible without also importing the other related host.

      Steps to reproduce:

      1. Create two hosts: A (with item A) and B (with item B)  A_and_B_hosts.yaml
      2. On Host A, create a graph or trigger that also includes an item from Host B
      3. Export Host A only A_host.yaml
      4. Export Host B only B_host.yaml
      5. Delete A and B hosts
      6. Import the exported files

      Actual result:
      Hosts imported without trigger. No warning was shown during export that part of the configuration have dependencies and will not be restorable

      Expected result: Show a warning during export "some elements (e.g. graphs, triggers) reference other hosts or templates that are not included in the export. These elements may be lost during import."

        1. B_host.yaml
          0.4 kB
        2. A_host.yaml
          0.4 kB
        3. A_and_B_hosts.yaml
          0.6 kB

            vmurzins Valdis Murzins
            natalja.zabbix Natalja Romancaka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 3h
                3h