-
Problem report
-
Resolution: Unresolved
-
Trivial
-
None
-
4.4.1
-
None
-
Ubuntu Xenial, MySQL, Zabbix 4.4.1
The following error message is present when a problem widget is configured to show operational data in the problem name or separately. No issue when no operational data is shown in problem widget.
Undefined offset: 2501586 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501588 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501588 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501596 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501596 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501597 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501597 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501606 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501606 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501597 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]Undefined offset: 2501606 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerWidgetProblemsView->doAction() → CScreenProblem::makeData() → CMacrosResolverHelper::sortItemsByExpressionOrder() → CMacrosResolver->sortItemsByExpressionOrder() → uasort() → CMacrosResolver->{closure}() in include/classes/macros/CMacrosResolver.php:2605]
The issue appears to be related to an event which lists 5 items for the same BGP peer over different routing instances, but the routing instance is not specified in item or trigger name, only in the item key.
So it appears that 5 items are linking themselves to only one discovered trigger. Because a trigger is not keyed on the expression but the name?
Screenshot to follow in comments.