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!

        1. image-2023-07-20-02-22-10-138.png
          48 kB
          Evgeny Semerikov
        2. image-2023-07-20-02-22-51-661.png
          31 kB
          Evgeny Semerikov
        3. image-2023-07-20-02-23-28-746.png
          54 kB
          Evgeny Semerikov
        4. image-2023-07-20-02-24-31-887.png
          58 kB
          Evgeny Semerikov
        5. image-2023-07-20-02-30-19-787.png
          33 kB
          Evgeny Semerikov
        6. image-2023-07-20-02-41-05-836.png
          73 kB
          Evgeny Semerikov

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

              Created:
              Updated: