Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23131

Cannot inherit LLD rule, because an item with the same key already exists

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.4.3
    • None
    • None

      When trying to link template "x5.snmp" to template "x5.hw.hpe.proliant", I'll get an error "Cannot update template": 

      • Cannot inherit LLD rule with key "system.net.uptime[sysUpTime.0]" of template "x5.hw.hpe.proliant" to host "racktables.5881", because an item with the same key already exists. [templates.php:299 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplate->update() → CHostGeneral->updateTemplates() → CHostGeneral::linkTemplatesObjects() → CItem::linkTemplateObjects() → CItem::inherit() → CItem::inheritChunk() → CItem::inherit() → CItem::inheritChunk() → CItem::getChildObjectsUsingName() → CItemGeneral::showObjectMismatchError() → CApiService::exception() in include/classes/api/services/CItemGeneral.php:786]
        There is "x5.hw.hpe.proliant" without any LLD!

      There is "x5.snmp" without any LLD!

      There is host "racktables.5881" without any LLD!

      What is wrong? This key persists only in "x5.snmp" template. Seems there is a bug occurred!

            tbross Tomass Janis Bross
            Evgeny.Semerikov@x5.ru Evgeny Semerikov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: