Duplicate Key Problem on Template Import

XMLWordPrintable

    • Type: Incident report
    • Resolution: Fixed
    • Priority: Major
    • 2.0.7rc1, 2.1.0
    • Affects Version/s: 2.0.5
    • Component/s: Frontend (F)
    • Environment:
      RH el6 with MySQL and Oracle

      This is a continuation of this bug: https://support.zabbix.com/browse/ZBX-6432

      In ZBX-6432, I thought the bug was specific to an Oracle database. But, it turns out, after upgrading my development Zabbix which uses MySQL from 2.0.0 to 2.0.5, I'm seeing this error with the MySQL database as well as Oracle. I suspect this is a 2.0.5 frontend issue.

      I've attached the four Templates. Load them in order. When I get to zbx_export_templates(4).xml, I get the following message:

      Item with key "ifAdminStatus.385" already exists on "Template_netSWITCH_1495Clif2A-m1".

      Template_netSWITCH_1495Clif2A-m1 was successfully loaded from file zbx_export_templates(2).xml,

        1. zbx_export_templates(1).xml
          492 kB
          Jiann-Ming Su
        2. zbx_export_templates(2).xml
          275 kB
          Jiann-Ming Su
        3. zbx_export_templates(3).xml
          492 kB
          Jiann-Ming Su
        4. zbx_export_templates(4).xml
          4.43 MB
          Jiann-Ming Su

            Assignee:
            Unassigned
            Reporter:
            Jiann-Ming Su
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: