ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9126

Changing prototype trigger key (expression) leaves an old version of the discovered trigger on the hosts

    Details

      Description

      If you change the prototype trigger key (expression), on next discovery Zabbix will leave an old trigger with the same key (expression) and create a new one besides it.

      To reproduce this bug:

      1. create a prototype trigger which uses one key as a trigger expression
      2. wait for the discovery to execute to create this trigger on a host
      3. once the trigger is created, edit the prototype trigger and choose a different key in the trigger expression, but leave everything else the same
      4. wait for the discovery to execute again and you will see that the host now has two triggers with the same name, but with different trigger expressions.

      I haven't tried if this happens only of I change the trigger function and not the key.

        Activity

        Hide
        Alexander Vladishev added a comment - - edited

        Similar issue with graph prototypes - second discovery fails with error:

        Cannot create graph: graph with the same name "..." already exists.

        Show
        Alexander Vladishev added a comment - - edited Similar issue with graph prototypes - second discovery fails with error: Cannot create graph: graph with the same name "..." already exists.
        Hide
        Alexander Vladishev added a comment -

        Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9126

        Show
        Alexander Vladishev added a comment - Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-9126
        Hide
        Alexander Vladishev added a comment -

        Fixed in pre-2.0.15 r51181, pre-2.2.9 r51182, pre-2.4.4 r51183 and pre-2.5.0 (trunk) r51184.

        Show
        Alexander Vladishev added a comment - Fixed in pre-2.0.15 r51181, pre-2.2.9 r51182, pre-2.4.4 r51183 and pre-2.5.0 (trunk) r51184.
        Hide
        guozhenbang added a comment -

        what's the meaning of "Fixed in pre-2.0.15 r51181, pre-2.2.9 r51182, pre-2.4.4 r51183 and pre-2.5.0 (trunk) r51184." I don't know what to do.

        Show
        guozhenbang added a comment - what's the meaning of "Fixed in pre-2.0.15 r51181, pre-2.2.9 r51182, pre-2.4.4 r51183 and pre-2.5.0 (trunk) r51184." I don't know what to do.
        Hide
        Rostislav Palivoda added a comment -

        Update to one of the versions (or later) where it was fixed.

        Show
        Rostislav Palivoda added a comment - Update to one of the versions (or later) where it was fixed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Strahinja Kustudic
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: