Ad Widget

Collapse

Upgrading cisco template to current on 6.4.5

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aseques
    Member
    • May 2019
    • 40

    #1

    Upgrading cisco template to current on 6.4.5

    I have a working setup of zabbix 6.4.5 working without issues, I would like to update the cisco template that I am using because it's quite old (it was first installed on zabbix 4.4.x).
    The template I'm using is from git (the version tagged with 6.4.5 here)
    The issue is that when going trhough the update process Templates -> Import -> (update,create and delete marked) I get an error about some undefined flags
    Undefined array key "flags" [zabbix.php:22 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupImport->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CConfiguration->import() → CConfigurationImport->import() → CConfigurationImport->processTemplates() → CTemplateImporter->import() → CTemplate->update() → CHostGeneral->updateTemplates() → CHostGeneral::unlinkTemplatesObjects() → CItem::unlinkTemplateObjects() → CItem::inherit() → CItem::inheritChunk() → CItem::checkInventoryLinks() in include/classes/api/services/CItem.php:1420]

    Click image for larger version

Name:	ksnip_tmp_IboyDK.png
Views:	221
Size:	658.4 KB
ID:	472821

    Looking into the source code the relevant part is this conditon:
    if ($item['flags'] == ZBX_FLAG_DISCOVERY_NORMAL && in_array($item['value_type'], $value_types)) {
    Any directions?
  • gcalenko
    Zabbix developer
    • Mar 2017
    • 27

    #2
    Issue looks similar to ZBX-23275, can you please update to latest 6.4 version available and confirm issue persists?

    Comment

    • aseques
      Member
      • May 2019
      • 40

      #3
      Thanks gcalenko thanks it fixed the first part of the issue, there are no more logs about this, there's another issue I'll post on another thread because there must be from another thing.

      Comment

      • aseques
        Member
        • May 2019
        • 40

        #4
        The next error I found https://www.zabbix.com/forum/zabbix-...ating-template

        Comment

        Working...