My zabbix installation evolved from debian lenny -> debian stretch and from zabbix 3.x -> zabbix 4.0 -> zabbix 4.2 -> zabbix 4.4
Installation is always done via debian and zabbix repos. There's now manual littering.
Today's installation leaved with a running zabbix: new data is aquirred the frontend shows new values but there are now graph. I only get a missing image icon.
Seems like I accidentally removed a necessary package?
For the records:
/var/log/apache2/error.log
[Wed Nov 20 23:47:55.518055 2019] [:error] [pid 11205] [client 10.8.0.150:50050] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate() in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php:2563\nStack trace:\n#0 /usr/share/zabbix/chart2.php(168): CLineGraphDraw->draw()\n#1 {main}\n thrown in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 2563, referer: http://192.168.222.41/zabbix/charts.php?graphid=549
Indeed there was missing php7.0-gd. Obviously it wasn't installed during updates.
Installation is always done via debian and zabbix repos. There's now manual littering.
Today's installation leaved with a running zabbix: new data is aquirred the frontend shows new values but there are now graph. I only get a missing image icon.
Seems like I accidentally removed a necessary package?
For the records:
/var/log/apache2/error.log
[Wed Nov 20 23:47:55.518055 2019] [:error] [pid 11205] [client 10.8.0.150:50050] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate() in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php:2563\nStack trace:\n#0 /usr/share/zabbix/chart2.php(168): CLineGraphDraw->draw()\n#1 {main}\n thrown in /usr/share/zabbix/include/classes/graphdraw/CLineGraphDraw.php on line 2563, referer: http://192.168.222.41/zabbix/charts.php?graphid=549
Indeed there was missing php7.0-gd. Obviously it wasn't installed during updates.
Comment