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

Can no longer add dependency from a trigger to another trigger in the same template

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Need info
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 5.2.4
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Environment:
      Linux zabbix 5.4.0-65-generic #73-Ubuntu SMP
      PostgreSQL 11.3 (Ubuntu 11.3-1.pgdg16.04+1) on x86_64-pc-linux-gnu

      Description

      (also in version 4.2.6 which the bug form won't let me put)

       

      Adding a new trigger to an existing template and then attempting to make this trigger dependent on other triggers in the same template fails with:

      "Cannot add dependency from a host to a template."

      The template has other triggers with dependencies on triggers in the same template, so the clearly is (or used to be) possible.

       

      It also fails if adding the dependency as part of the process of adding the trigger (instead of trying to add the dependency after the fact).

       

      My guess is:

      The update process is failing to transform "template name: trigger name" into "host name: trigger name" when iterating through existing hosts.

       

      This seems similar to or the same as the issue in ZBX-16122, except in this case, the "other" template is actually the same template.

       

      Also, attempting to follow the link to the fix results in:
      "No branch, tag or commit 'refs/heads/feature/ZBX-16122-4.0' exists in repository 'Zabbix'"

       

        Attachments

          Activity

            People

            Assignee:
            igorbach Igor Gorbach
            Reporter:
            xxiii Dave E Martin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: