Hi folks,
returning from lunch I had to find out, that 10 minutes after starting my break our zabbix began to strange without any direct external influences. The monitoring itself still works fine, the values are recorded and reported as usual and also Grafana displays all graphs flawlessly. The first indicator for an existing problem was zabbix vue´s (chrome plugin) refusal of work - instead a communication error was reported. Opening our zabbix WebGUI the problem-widget of our default dashbord wasn´t loading on both of our webservers. After deleting the problem-widget and reinserting the same one it worked again. With this working dashboard I got aware of the php_errorlog on those machines announcing as follows:
We are using zabbix 5.4.12 with postgreSQL13, both installed on debian 10. Those Webservers for the GUI are running nginx (1.14.2) with php7.4_fpm (7.4.30) installed on Debian 10 also.
Thanks an advance for any hints how to get rid of those problems.
Greetings,
Plex
returning from lunch I had to find out, that 10 minutes after starting my break our zabbix began to strange without any direct external influences. The monitoring itself still works fine, the values are recorded and reported as usual and also Grafana displays all graphs flawlessly. The first indicator for an existing problem was zabbix vue´s (chrome plugin) refusal of work - instead a communication error was reported. Opening our zabbix WebGUI the problem-widget of our default dashbord wasn´t loading on both of our webservers. After deleting the problem-widget and reinserting the same one it worked again. With this working dashboard I got aware of the php_errorlog on those machines announcing as follows:
Code:
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Notice: Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Notice: Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Notice: Undefined index: items in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /usr/share/zabbix/include/classes/macros/CMacrosResolver.php on line 2784
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Notice: Undefined index: items in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 591
[14-Jul-2022 15:41:31 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Argument 1 passed to CMacrosResolverHelper::resolveItemNames() must be of the type array, null given, called in /usr/share/zabbix/include/classes/screens/CScreenProblem.php on line 591 and defined in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php:538
Stack trace:
#0 /usr/share/zabbix/include/classes/screens/CScreenProblem.php(591): CMacrosResolverHelper::resolveItemNames()
#1 /usr/share/zabbix/app/controllers/CControllerWidgetProblemsView.php(69): CScreenProblem::makeData()
#2 /usr/share/zabbix/include/classes/mvc/CController.php(390): CControllerWidgetProblemsView->doAction()
#3 /usr/share/zabbix/include/classes/core/ZBase.php(525): CController->run()
#4 /usr/share/zabbix/include/classes/core/ZBase.php(209): ZBase->processRequest()
#5 /usr/share/zabbix/include/config.inc.php(25): ZBase->run()
#6 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...')
#7 {main}
thrown in /usr/share/zabbix/include/classes/macros/CMacrosResolverHelper.php on line 538
Thanks an advance for any hints how to get rid of those problems.
Greetings,
Plex
Comment