Ad Widget

Collapse

Importing Cisco template: Item with key "icmpping" already exists on "Cisco IOS SNMP"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maxxer
    Member
    • Oct 2010
    • 80

    #1

    Importing Cisco template: Item with key "icmpping" already exists on "Cisco IOS SNMP"

    Hi.
    5.2 installation upgraded to 6.0 few months ago.
    I'm trying to upgrade the Cisco IOS templates (downloaded from release/6.0 branch). I let the default checkboxes on import (as far as I can tell there are no deletes in the upgrade) but I get the following error:
    Code:
    Item with key "icmpping" already exists on "Cisco IOS SNMP".
    From what I can see, the current template is linked to other Template Module Cisco templates, one of which is itself linked to the base SNMPv2 module which has icmpping item.

    So I'm wondering what could be the best upgrade path for this template. I came up with two options:
    1. clone the current template, assign the new template to all the hosts using the standard Cisco one (manually, I suppose), delete the current template and upload the 6.0 version as a new one
    2. unlink (and clear? is it necessary?) from the current template all the linked modules, import the 6.0 version which now should work
    At first sight, the second option looks better to me.
    ​Can I avoid clear when removing the items?
    A better option which doesn't involve losing the items history?

    Thanks
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    If you just "unlink" then items are dropped to host level. They keep functioning and history remains. If you then apply another template with similar items, they are again taken over by template. History is kept.

    Comment

    • yurtesen
      Senior Member
      • Aug 2008
      • 130

      #3
      I have the same problem with "Template Module Generic SNMP"
      Item with key "icmpping" already exists on "Network Generic Device by SNMP".
      I unlinked "Template Module ICMP Ping" but I still am not able to import the new template. It gives exactly same error.

      I have similar problems with hosts which has icmpping also. Removing the template does not help being able to import a new template with same item.

      How do people import new Zabbix6 templates to update old Zabbix5 templates?

      I am able to re-link "Template Module ICMP Ping" to "Template Module Generic SNMP" and the icmpping item(s) are able to re-associate. Do I have to unlink and clear the "Template Module ICMP Ping" and lose all the previous data?
      Last edited by yurtesen; 08-12-2022, 01:04.

      Comment

      • yurtesen
        Senior Member
        • Aug 2008
        • 130

        #4
        I made a bug report as I believe it should work as cyber described in his post. However template import does not seem to work as expected.
        https://support.zabbix.com/browse/ZBX-22049

        Comment

        Working...