mjaepel / ZbxWallboard

Wallboard with active triggers/problems of Zabbix Monitoring
19 stars 10 forks source link

Проблема запуска на 5.2 #9

Open zelyonoe opened 3 years ago

zelyonoe commented 3 years ago

Добрый день проблема запуска 5.2 постоянно ошибка 500 подскажите куда копать.

msoender commented 3 years ago

I'm also unable to lunch the Wallboard from Zabbix 5.2

installation: Ubuntu 20.04, Zabbix 5.2 Postgresql-13 nginx webserver. PHP version 7.4.3

Getting a HTTP 500 error with the address bar http://servername/zabbix.php?action=zbxwallboard.view

zelyonoe commented 3 years ago

thrown in /usr/share/zabbix/modules/zbxwallboard/partials/CScreenWallboard.php on line 13" while reading response header from upstream, client: ip-address, server: hostname, request: "GET /zabbix.php?action=zbxwallboard.view HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock:", host: "hostname", referrer: "http://servername/zabbix.php?action=dashboard.view" Ошибка в nginx

SLi010 commented 3 years ago

Same issue here. Also after upgrading to Zabbix 5.2. Debian 10.5, Zabbix 5.2, Postgresql + timescaledb, apache, PHP 7.3.19

error.log shows the same error line as mentioned by zelyonoe;

[Thu Nov 05 08:07:24.460764 2020] [php7:error] [pid 5819] [client xxx] PHP Fatal error: Uncaught Error: Call to undefined function Modules\ZbxWallboard\select_config() in /usr/share/zabbix/modules/zbxwallboard/partials/CScreenWallboard.php:13\nStack trace:\n#0 /usr/share/zabbix/modules/zbxwallboard/views/monitoring.wallboard.view.php(67): Modules\ZbxWallboard\CScreenWallboard->__construct(Array)\n#1 /usr/share/zabbix/include/classes/mvc/CView.php(122): include('/usr/share/zabb...')\n#2 /usr/share/zabbix/include/classes/core/ZBase.php(614): CView->getOutput()\n#3 /usr/share/zabbix/include/classes/core/ZBase.php(543): ZBase->processResponseFinal(Object(CRouter), Object(Modules\ZbxWallboard\Actions\ZbxWallboardProblemView))\n#4 /usr/share/zabbix/include/classes/core/ZBase.php(207): ZBase->processRequest(Object(CRouter))\n#5 /usr/share/zabbix/include/config.inc.php(25): ZBase->run('default')\n#6 /usr/share/zabbix/zabbix.php(22): require_once('/usr/share/zabb...')\n#7 {main}\n thrown in /usr/share/zabbix/modules/zbxwallboard/partials/CScreenWallboard.php on line 13

mjaepel commented 3 years ago

I know this issue. My wallboard module reused big parts of Zabbix UI code to build a proof of concept for a module. Zabbix 5.0 was the first release with UI module support.

But Zabbix changed a lot between 5.0 and 5.2 and the wallboard module code needs a redesign. I have not the time to do this in the next months. So you have to wait for a long time or fixed it by your own and create a pull request. :)