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

undefined indexes with user macros in 3.0beta2

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0beta2
    • Fix Version/s: 3.0.0rc2
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      centos

      Description

      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?

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: