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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 6.4.3
    • Component/s: 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!

            Assignee:
            Tomass Janis Bross
            Reporter:
            Evgeny Semerikov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: