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

undefined indexes with user macros in 3.0beta2

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.0.0rc2
    • 3.0.0beta2
    • Frontend (F)
    • centos

      We deployed a test version of 3.0beta2 to prep for upgrading in production to 3.0 when it is released. I'm getting these errors in the "Monitoring -> Dashboard":

      Undefined index: {$MEM_UTIL_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$SWAP_PUSED_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_RESET} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV2} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      Undefined index: {$MEM_UTIL_SEV3} [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_system_status() ? makeTriggersPopup() ? CMacrosResolverHelper::resolveTriggerNames() ? CMacrosResolver->resolveTriggerNames() ? CMacrosResolver->resolveTriggerExpressionUserMacro() in include/classes/macros/CMacrosResolver.php:1002]
      

      (sorry about the evil formating)
      Looking at https://www.zabbix.com/forum/showthread.php?t=26807 it looks like I need to add these indexes in to my DB now? That seem correct to you?

            Unassigned Unassigned
            matthew.tolle Matt Tolle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: