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

Incorrect trigger dependencies are set by copying triggers to multiple hosts

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 27, Sprint 28
    • Story Points:
      3

      Description

      We met a problem when copying triggers which has trigger dependencies to multiple hosts.
      All copied triggers have dependency on the same trigger of one of the hosts.

      We made a patch and found out it resolved this problem.

      How to reproduce the problem:

      1. Prepare 4 hosts
      orig_host
      Host1
      Host2
      Host3

      2. Create 2 triggers on orig_host.
      TriggerA
      TriggerB

      3. Add dependency on TriggerB to TriggerA

      TriggerA
      Dependencies
      orig_host: triggerB

      4. Copy two triggers to other three hosts by using Mass editing options.
      Mark the checkboxes of them and press copy button then select three hosts and press Copy button.

      5. The result is as follows.

      All TriggerA triggers existing on the hosts depend on Host1:TriggerB.

      Host1
      TriggerA
      Depends on:
      Host1: TriggerB

      Host2
      TriggerA
      Depends on:
      Host1: triggerB

      Host3
      TriggerA
      Depends on:
      Host1: triggerB

      They should be set as follows.

      Host1
      TriggerA
      Depends on:
      Host1: TriggerB

      Host2
      TriggerA
      Depends on:
      Host2: triggerB

      Host3
      TriggerA
      Depends on:
      Host3: triggerB

        Attachments

          Activity

            People

            • Assignee:
              iivs Ivo Kurzemnieks
              Reporter:
              kmiyashita Kotaro Miyashita
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: