Icinga2 Graphite Problem


I upgraded my Ubuntu 16.04 Server to Ubuntu 18.04 without issues (I wanted to test the new icingadb).
The Icinga2 Packages are also upgraded to 18.04 ones.

My only problem is with the graphite stats. In the cli I see, taht the whisper files still get updates but on the webfrontend I get count(): Parameter must be an array or an object that implements Countable

I found an older issue:
but in my version im already using this patched version.

Here are the versions:

icinga2 - The Icinga 2 network monitoring daemon (version: r2.12.0-rc1-1)

Copyright (c) 2012-2020 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later http://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: Ubuntu
Platform version: 18.04.4 LTS (Bionic Beaver)
Kernel: Linux
Kernel version: 4.15.0-101-generic
Architecture: x86_64

Build information:
Compiler: GNU 8.3.0
Build host: runner-LTrJQZ9N-project-298-concurrent-0
OpenSSL version: OpenSSL 1.1.1 11 Sep 2018

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

Graphite Module Version 1.1

In the apache2 logs I dont see any issues.

Does anyone have an idear.



some aditional informaiton.
In the log I saw an render URL : /render…
So I opened it manually with the graphite web

and it works so the stats are available and graphite-web can work with it only in the icingaweb2 graphite module I get this error “count(): Parameter must be an array or an object that implements Countable” for all graphs… :frowning: