Hello,
after the Upgrade to Debian Bookworm, with activated Icinga2 repository i don’t get Grafics in Icingaweb2.
I got this Failure:
Server error: `GET http://localhost:8000/render?from=1721218987&until=1721823787&bgcolor=f5f9fa&fgcolor=535353&majorGridLineColor=d0d3da&minorGridLineColor=f5f9fa&width=350&height=200&hideLegend=&tz=Europe%2FParis&_salt=1721823787.000&vTitle=Percent&lineMode=connected&drawNullAsZero=false&graphType=line&_ext=whatever.svg&areaAlpha=0.5&areaMode=all&lineWidth=2&min=0&yUnitSystem=none&target=alias%28color%28scale%28icinga2.arian_nodomain.host.hostalive.perfdata.rta.value%2C%201000%29%2C%20%27%231a7dd7%27%29%2C%20%27Round%20trip%20time%20%28ms%29%27%29` resulted in a `500 Internal Server Error` response:
Graphi (truncated...)
#0 /usr/share/icinga-php/vendor/vendor/guzzlehttp/guzzle/src/Middleware.php(72): GuzzleHttp\Exception\RequestException::create() #1 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(209): GuzzleHttp\Middleware::GuzzleHttp\{closure}() #2 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(158): GuzzleHttp\Promise\Promise::callHandler() #3 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/TaskQueue.php(52): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() #4 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(251): GuzzleHttp\Promise\TaskQueue->run() #5 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(227): GuzzleHttp\Promise\Promise->invokeWaitFn() #6 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(272): GuzzleHttp\Promise\Promise->waitIfPending() #7 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(229): GuzzleHttp\Promise\Promise->invokeWaitList() #8 /usr/share/icinga-php/vendor/vendor/guzzlehttp/promises/src/Promise.php(69): GuzzleHttp\Promise\Promise->waitIfPending() #9 /usr/share/icinga-php/vendor/vendor/guzzlehttp/guzzle/src/Client.php(124): GuzzleHttp\Promise\Promise->wait() #10 /usr/share/icingaweb2/modules/graphite/library/Graphite/Graphing/GraphiteWebClient.php(80): GuzzleHttp\Client->send() #11 /usr/share/icingaweb2/modules/graphite/library/Graphite/Web/Widget/GraphImage.php(117): Icinga\Module\Graphite\Graphing\GraphiteWebClient->request() #12 /usr/share/icingaweb2/modules/graphite/library/Graphite/Graphing/Chart.php(105): Icinga\Module\Graphite\Web\Widget\GraphImage->render() #13 /usr/share/icingaweb2/modules/graphite/application/controllers/MonitoringGraphController.php(145): Icinga\Module\Graphite\Graphing\Chart->serveImage() #14 /usr/share/icingaweb2/modules/graphite/application/controllers/MonitoringGraphController.php(73): Icinga\Module\Graphite\Controllers\MonitoringGraphController->supplyImage() #15 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(516): Icinga\Module\Graphite\Controllers\MonitoringGraphController->hostAction() #16 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch() #17 /usr/share/icinga-php/vendor/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Icinga\Web\Controller\Dispatcher->dispatch() #18 /usr/share/php/Icinga/Application/Web.php(294): Zend_Controller_Front->dispatch() #19 /usr/share/php/Icinga/Application/webrouter.php(105): Icinga\Application\Web->dispatch() #20 /usr/share/icingaweb2/public/index.php(4): require_once(String) #21 {main}
icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: r2.14.2-1)
Copyright (c) 2012-2024 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
System information:
Platform: Debian GNU/Linux
Platform version: 12 (bookworm)
Kernel: Linux
Kernel version: 6.1.0-23-amd64
Architecture: x86_64
Build information:
Compiler: GNU 12.2.0
Build host: runner-hh8q3bz2-project-575-concurrent-0
OpenSSL version: OpenSSL 3.0.13 30 Jan 2024
Application information:
General paths:
Config directory: /etc/icinga2
Data directory: /var/lib/icinga2
Log directory: /var/log/icinga2
Cache directory: /var/cache/icinga2
Spool directory: /var/spool/icinga2
Run directory: /run/icinga2
Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /var
Internal paths:
Package data directory: /usr/share/icinga2
State path: /var/lib/icinga2/icinga2.state
Modified attributes path: /var/lib/icinga2/modified-attributes.conf
Objects path: /var/cache/icinga2/icinga2.debug
Vars path: /var/cache/icinga2/icinga2.vars
PID path: /run/icinga2/icinga2.pid
* Used modules and their versions (System - About)
graphite
Zustand enabled
Version 1.2.4
Git Commit f05e870971659489e05fdd7e4ec18357695a8de2
Beschreibung **Icinga Web Graphite Integration**
This module integrates an existing Graphite installation in your Icinga Web frontend.
Abhängigkeiten Bibliotheken icinga-php-library >=0.13.0
--- ---
icinga-php-thirdparty >=0.12.0
Module monitoring >=2.9.0 oder
--- --- ---
icingadb >=1.0.0 (nicht installiert)
Berechtigungen **graphite/debug**: Erlaube Debugging über die Benutzeroberfläche