icingaweb2-module-grafana icon indicating copy to clipboard operation
icingaweb2-module-grafana copied to clipboard

Call to undefined function imagecreate()

Open deric opened this issue 3 years ago • 1 comments

Call to undefined function Icinga\Module\Grafana\Controllers\imagecreate() in /usr/share/icingaweb2/modules/grafana/application/controllers/ImgController.php:217

-->

Expected Behavior

Expected to see a graph

Possible Solution

It might be worth mentioning in installation guide that the PHP GD module is required. E.g. on Debian:

apt install php7.3-gd

Context

Your Environment

  • Icinga Web 2 Grafana version (System - About):
  • Icinga Web 2 version and modules (System - About):
  • Version used (icinga2 --version): r2.12.5-1
  • Operating System and version:
  • Enabled features (icinga2 feature list): api checker ido-pgsql influxdb mainlog notification
  • Config validation (icinga2 daemon -C):

deric avatar Jul 23 '21 08:07 deric

I ran into the same problem

v0tti avatar Dec 09 '21 11:12 v0tti

Fix in Documentation for 2.0.0

Mikesch-mp avatar Feb 23 '23 11:02 Mikesch-mp