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

Trigger dependency linked to template instead of host with discovery action

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 39, Sprint 40, Sprint 41, Sprint 42
    • Story Points:
      1

      Description

      Example how to reproduce:

      Create 3 templates with one simple check rule for each template (Just by example, service types doesn't matter)

      • icmpping
      • net.tcp.service[http]
      • net.tcp.service[ssh]

      Create 3 triggers, one for each template with service availability (ping,http,ssh)

      SSH service availability trigger from the SSH Template and HTTP service availability trigger from the HTTP template both depends on PING service availability trigger from the Ping template

      Create discovery rule with ping,ssh,http service checks
      Create Discovery Actions

      • link HTTP and PING template if HTTP service is found
      • link SSH and PING template if SSH service is found

      Expected:

      For each host found, host is created, templates are linked and trigger dependencies are assigned to the correct host

      Result:

      Only one template is linked correctly, on the second template trigger dependency is set to the template, not to the host !!!

      See attached screenshots.

        Attachments

        1. Actions.PNG
          Actions.PNG
          13 kB
        2. template HTTP.PNG
          template HTTP.PNG
          10 kB
        3. template SSH.PNG
          template SSH.PNG
          10 kB
        4. Triggers.PNG
          Triggers.PNG
          34 kB

          Issue Links

            Activity

              People

              • Assignee:
                MVekslers Michael Veksler
                Reporter:
                kaspars.mednis Kaspars Mednis
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: