Ad Widget

Collapse

Zabbix : Item already exists, inherited from another template

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abiswas
    Junior Member
    • Apr 2015
    • 5

    #1

    Zabbix : Item already exists, inherited from another template

    We apply zabbix template to the server using the "import" option available in UI. Say, template A is linked with another template B and the templates are applied to the zabbix server.

    In the next version/release :
    1. Template A is no longer associated with B
    2. Template A is linked with a new template C
    3. Items from B has been moved to C (C is a superset of B).


    Now if I try to import the latest version of the template (A -> C) on top of older version (A -> B) from the "import" option in UI, I get the following error :

    Item "<Item_Key>" already exists on "<Template_Name>", inherited from another template.

    But, as you can understand, in the latest version of the template (A -> C), template B is no longer there and hence there is no question of conflict between items in B and C.

    Zabbix Version : 2.4.7
  • abiswas
    Junior Member
    • Apr 2015
    • 5

    #2
    Steps to reproduce

    Steps to reproduce :

    1. Import attached zbx_export_templates-A.xml first. It has "Template A" linked to "Template OS Linux" (which comes out of the box with zabbix).
    2. Import attached zbx_export_templates-Another.xml on top of #1. zbx_export_templates-Another.xml has "Template A" linked to another template "Another OS Linux" (which is a deep clone "Template OS Linux". This is to make sure that "Template OS Linux" and "Another OS Linux" have common elements).

    #2 returns :
    Template "Template OS Linux" with item key "agent.hostname" already linked to host.

    The templates are provided as attachment.

    Archive.zip

    Comment

    • asaveljevs
      Zabbix developer
      • Feb 2010
      • 36

      #3
      Looks like a bug indeed. Please report it on our tracker at https://support.zabbix.com/browse/ZBX/ .

      Comment

      • abiswas
        Junior Member
        • Apr 2015
        • 5

        #4
        Thanks for confirming. I have raised the following bug :

        Comment

        Working...