No graphs are rendered instead a (PHP) error message is shown: Function get_magic_quotes_runtime() is deprecated. Filed an issue in assumed GitHub project. Until then it seems safe to simply uncomment the if in line 57 and 64. The latter uses the other deprecated function. Reproducible: Always Steps to Reproduce: 1. Setup pnp4nagios and icinga2 2. have at least a single service with at least one numeric value 3. display service details in icingaweb2 Actual Results: No graphs are shown in service details or directly open pnp4nagios in browser: error message is shown. Expected Results: Graphs are rendered correctly
I can confirm this issue also for nagios, 2 php func was deprecated since 7.4 and be removed from php 8.0. Quick fix is also works: _comment_ lines from 57 to 68 in /usr/lib64/kohana/system/libraries/Input.php.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f94cc0f46dbc761fb220af23abada6f310ecbcd commit 5f94cc0f46dbc761fb220af23abada6f310ecbcd Author: Tomáš Mózes <hydrapolic@gmail.com> AuthorDate: 2021-06-19 15:34:21 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-06-20 16:13:01 +0000 net-analyzer/pnp4nagios: add php 7.4 compatibility Closes: https://bugs.gentoo.org/708206 Closes: https://bugs.gentoo.org/765643 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21329 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../files/pnp4nagios-0.6.26-magic-quotes.patch | 23 ++ .../files/pnp4nagios-0.6.26-sizeof.patch | 357 +++++++++++++++++++++ .../pnp4nagios/pnp4nagios-0.6.26-r11.ebuild | 104 ++++++ 3 files changed, 484 insertions(+)