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

Cannot import templates and hosts when trigger prototypes depend from trigger which is on a different host

    Details

      Description

      There are two problems. One is with template import, and the other one is with host import. Here's how to reproduce them.
      Templates:
      Create a template T1, create a host H1 and link them together. On the host H1 create a regular trigger. On the template T1 create a trigger prototype and set dependency on H1 that trigger. Export templates and don't change anything. Try to import back. The import should fail.
      Hosts:
      Create a template T1, create a host H1 and link them together. On the template T1 create a regular trigger so the H1 gets a templated trigger automatically. Now create a host H2, but don't link it. Instead just create a trigger prototype and set dependency on that H1 templated trigger. Export H2 and don't change anything. Try to import back. The import should fail.

        Activity

        Hide
        vitalijs.cemeris added a comment -

        RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693

        Show
        vitalijs.cemeris added a comment - RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693
        Hide
        vitalijs.cemeris added a comment - - edited

        (1) No translation strings changed

        Ivo Kurzemnieks CLOSED

        Show
        vitalijs.cemeris added a comment - - edited (1) No translation strings changed Ivo Kurzemnieks CLOSED
        Hide
        Ivo Kurzemnieks added a comment -

        TESTED,

        but, please, be careful when merging to trunk. The code will be different.

        Show
        Ivo Kurzemnieks added a comment - TESTED, but, please, be careful when merging to trunk. The code will be different.
        Hide
        vitalijs.cemeris added a comment - - edited

        Fixed in:

        • pre-3.0.3rc r59722
        • pre-3.1.0 r59770
        Show
        vitalijs.cemeris added a comment - - edited Fixed in: pre-3.0.3rc r59722 pre-3.1.0 r59770
        Hide
        vitalijs.cemeris added a comment - - edited

        (3) Different solution for trunk
        RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693 r59738

        Ivo Kurzemnieks CLOSED

        Show
        vitalijs.cemeris added a comment - - edited (3) Different solution for trunk RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-10693 r59738 Ivo Kurzemnieks CLOSED
        Hide
        vitalijs.cemeris added a comment - - edited

        (4) API documentation:

        RESOLVED

        Ivo Kurzemnieks CLOSED

        Show
        vitalijs.cemeris added a comment - - edited (4) API documentation: import with trigger prototype dependency is fixed: Zabbix API changes in 3.0 RESOLVED Ivo Kurzemnieks CLOSED

          People

          • Assignee:
            Unassigned
            Reporter:
            Ivo Kurzemnieks
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: